|
|
|
|
Reply From: |
avencherus |
They allow you to get the behavior of those types, while keeping it a RigidBody, allowing you the option to override its _integrate_forces()
Static and Kinematic are as you would expect, Character behaves mostly like a RigidBody, but stops angular rotations, so your character can stay upright when moving up slopes.
Do you have to set a different mode to override _integrate_forces()
?
Edit: no you do not, _integrate_forces()
requires a state
parameter, which I think I was messing up.
jarlowrey | 2017-05-10 00:39
|
|
|
|
Reply From: |
rredesigns |
There’s a brief but sufficient explanation in the help for RigidBody integrated in the engine. Did you read that?
Property: mode
Set the body mode, from the MODE_* enum. This allows to change to a static body or character body.
Unfortunately it doesn’t explain much about what the different mode implies, and how
changing mode is different from using a different body type node.
jarlowrey | 2017-05-10 14:25