💬

Community answer

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

Yielding under CPU limit / setPos zeroes velocity

📏 LimitsUpdated 2 days ago•0 views
setPos zeroes the entity's velocity - re-apply velocity after teleporting; for CPU-limit yielding you can't get faster than a think hook check against cpuMax().

How to yield a loop when hitting cpuMax and does setPos reset velocity

setPos zeroes the entity's velocity - re-apply velocity after teleporting; for CPU-limit yielding you can't get faster than a think hook check against cpuMax().

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.