I was wonder what the difference was between SetActive and SetAwake. This is kind of obvious once you look in the Box2d Manual and read it yourself.
SetAwake - Sets the b2Body to awaken from sleep or sets it to sleep. If any other body comes into contact with this body it will awaken by itself.
SetActive - Sets the b2Body to active or inactive. If any other body comes into contact with this body it will NOT awake and not be simulated.
Saturday, May 5, 2012
Subscribe to:
Post Comments (Atom)
thx,it's helpful
ReplyDelete