#Basic movement

1 messages · Page 1 of 1 (latest)

dawn mountain
#

Hey all, I'm trying to write a movement script for my object, and struggling to find a method that works.

  • Addforce constantly accelerates the object when in the air, and since I am using the drag variable for air resistance I can't slow it down
  • Changing the rigidbody velocity has the same problem, and setting it removes gravity
  • MovePosition seems like the best option, but it has some troubles with collision. If theres any way to do this with collision that would be great.
    Thanks for any input!