Page 1 of 1

Strange Deactivation State changes.

Posted: Tue Jul 12, 2016 11:38 am
by Dr. DOX
Hi, I've a simple object under gravity force and a counter-force applied in opposite direction. At start, the deactivation state is ACTIVE_TAG and the counter-force changes constantly. After some seconds the object freeze and your activation state goes to ISLAND_SLEEPING. The counter-force continue to change but the object stay in ISLAND_SLEEPING forever. Can you explain the behavior? Many thanks, bye

Re: Strange Deactivation State changes.

Posted: Fri Jul 22, 2016 9:00 pm
by benelot
An island is a number of bodies in contact with each other. Your island is the simple object, as it did not move under gravity and counter force, it went to sleep. It can only be awakend by being hit by something else, from my knowledge you can not wake it by applying a force. Other than that, you can use the activate to make it active again. The deactivation can cause strange effects as you realized, but is very good for load reduction on cpu for objects that do not move anyway.