Pirates-of-Fife / oddity

Other
1 stars 0 forks source link

make creature movement smoother #108

Open ZoeMcFife opened 3 weeks ago

ZoeMcFife commented 3 weeks ago

currently keeping upright and everything is not working well.

ZoeMcFife commented 2 weeks ago

Idea

Manually set rotation of player to the up axis of its frame of reference if it has gravity. If outside of gravity don't do this.

If player enters a gravity grid, start timer, if still in it after timer, start keep_upright method till player is almost upright then set manually. Do this continuously when on planet (without keep_upright)

The current problem is due to the constant torque that's being applied to the rigid body.