Hi,
Probably the easiest way would be to use RigidBody
. Set mode
to MODE_KINEMATIC
and when user press E key then change to MODE_RIGID
.
You could also create 2 scenes, one for RigidBody
and another one for KinematicBody
and then swap that scenes on E press, but that change may be not seamless.
If you need some script example probably I could prepare something.