💬

Community answer

Collected from the ACE community Discord archive around 2022-10-11. It may be informal or outdated — anyone can edit this page to improve it. Original discussion

setVelocity doesn't change a physics object's velocity

💬 GeneralUpdated 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).

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.