Browsing Wiremod's section
← Back to ACE
💬

Community answer

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

ent:setVelocity doesn't affect props

💻 Expression 2Updated 2 days ago•0 views
setVelocity on the entity only works for certain entity kinds - for props use ent:getPhysicsObject():setVelocity(vec) (or getPhysicsObject():addVelocity for add…

Does ent:setVelocity(Vector) work on props in Starfall

setVelocity on the entity only works for certain entity kinds - for props use ent:getPhysicsObject():setVelocity(vec) (or getPhysicsObject():addVelocity for additive). Same applies to angular velocity.

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.