Nibbla / jbullet-jme

Automatically exported from code.google.com/p/jbullet-jme
0 stars 0 forks source link

Add ability to disable deactivation of PhysicNodes #45

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What kind of issue is this?
- Feature Request

Add a way to set the ActivationState of a physics node.
Sometimes it might be desirable to disable automatic deactivation of 
PhysicNodes.

http://jbullet.advel.cz/javadoc/com/bulletphysics/collision/dispatch/CollisionOb
ject.html#setActivationState(int)

see attached patch.

example usage:
physicsNode.setActivationState(ActivationState.DISABLE_DEACTIVATION);

Original issue reported on code.google.com by christoph.luder on 21 Feb 2011 at 7:26

GoogleCodeExporter commented 8 years ago

Original comment by christoph.luder on 21 Feb 2011 at 7:28

Attachments: