I need to create a physics body that does not respond to gravity but does respond to other forces. For example the object only moves when a crate falls on it. I looked around in the documentation and found nothing. [import]uid: 104852 topic_id: 24179 reply_id: 324179[/import]
set the bodyType to “kinematic” [import]uid: 64174 topic_id: 24179 reply_id: 97591[/import]
I did. It doesn’t get affected by gravity but other objects still cannot push it around. [import]uid: 104852 topic_id: 24179 reply_id: 97594[/import]
The other object must be dynamic for collision with a kinematic body [import]uid: 64174 topic_id: 24179 reply_id: 97603[/import]
http://developer.anscamobile.com/forum/2011/07/12/collision-problem-static-dynamic-or-kinematic
You might find this thread useful! [import]uid: 64174 topic_id: 24179 reply_id: 97605[/import]
I am not sure I understand… [import]uid: 104852 topic_id: 24179 reply_id: 97608[/import]