πŸ’¬

Community answer

Collected from the ACE community Discord archive around 2021-10-27. It may be informal or outdated β€” anyone can edit this page to improve it. Original discussion

Keeping an angle synced to a moving prop

πŸŒ™ LuaUpdated 2 days agoβ€’0 views
Convert once with worldToLocalAngles(prop) to get the angle in the prop's local space, modify it with mouse input, then localToWorldAngles back to world in calc…

How to keep a look-angle synced to a prop while allowing free look (mousemoved + calcview)

Convert once with worldToLocalAngles(prop) to get the angle in the prop's local space, modify it with mouse input, then localToWorldAngles back to world in calcview - don't try to blend world angles directly (causes spins).

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.