This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Collision detection between SVG-shapes in Javafx  RSS feed

 
Per Olof Petersson
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to detect collision between two objects. The objects are represented as SVG-paths within images displayed on ImageViews (Spritebound). The code first detects intersection between the SpriteBounds and this part works. But the second part wich skal detect if there is intersection between the SVG-paths does not.



This is the Conostruction method of the GameObjects:
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!