RigiBody and rotate_object_local
A rigibody with gravity scale = 0 is rotated with this code when the player press left or right keys
var localRotationAxis = Vector3(0,1,0) var rotationdegree = deg2rad(moveZ*10) rotate_object_local(localRotationAxis,rotationdegree) print('rotationdegree : ' , rotationdegree)
When there is no rotation ( rotationdegree = 0 ), the function **rotate_object_local ** continue to do a strange rotation.
Is this because of RigiBody, or should it work as expected ?