setVelocity doesn't change a physics object's velocity
💬 General•Updated 2 days ago•1 views
You were calling it on the entity instead of the physics object - use pro:getPhysicsObject():setVelocity(...) (or :getPhysicsObject() then set velocity on that)…
Why doesn't prop setVelocity work on a physics object
You were calling it on the entity instead of the physics object - use pro:getPhysicsObject():setVelocity(...) (or :getPhysicsObject() then set velocity on that).