#How can i move objects thru script?
9 messages · Page 1 of 1 (latest)
9 messages · Page 1 of 1 (latest)
i have a variable that stores the initial position of the gun
and when the fire() function is ran
the gun_vel_z is set to 0.5
and i have a while loop that moves the gun's z position by gun_vel_z
and slowly decreases the gun_vel_z
but the gun just goes off the camera
is there a function that moves an object towards a position?