i'm new to using GD script and am trying to find a simple way of making a rigid body left or right for a game i'm making and i was wondering if anyone could give me any help. i've tried to code the Rigid bodies movement but don't know how. what i've done so far is;
var playermovement = Vector3(10,0,0)
playermovemnt = -playermovement;
playermovement = playermovement;
pass # Replace with function body.
i know this is wrong but i can't figure out how to move a character left or right on a 3d plane.