-
koko82Likes 0Problem Description
Hi All,
Just want to be able for a sprite to be able to touch another sprite in a physics world so that it can touch other objects, however I dont want it to participate in physics world when it touches another dynamic physics sprite. I know that sprite->setDynamic(false) exists but this wont allow me to perform collisions. Any idea how to do this?
-
Sonar Systems adminLikes 0
When you say collision do you mean just collision detection?
-
koko82Likes 0
Yes, I still need collision detection but dont want the sprite to participate in physics world.
-
koko82Likes 0
If two bodies are setDynamic(false) they dont detect collision
-
Sonar Systems adminLikes 0
If your only looking for basic collision detection use this method https://www.youtube.com/watch?v=lJoYwFKBcXU&list=PLRtjMdoYXLf4vzkg0wdBrp7YoOThOLf4H&index=26
Login to reply