πŸ’¬

Community answer

Collected from the ACE community Discord archive around 2022-10-31. It may be informal or outdated β€” anyone can edit this page to improve it. This topic changes between game versions β€” double-check before relying on it. Original discussion

setAngles on a hologram parented to a bone

πŸ”— ConstraintsUpdated 2 days agoβ€’0 views
Bone parenting in the Source engine is a hacky mess - the holo inherits the bone's angle at parenting time and setAngles results vary with the bone's current an…

Why does setAngles behave nonsensically on a hologram parented to a bone

Bone parenting in the Source engine is a hacky mess - the holo inherits the bone's angle at parenting time and setAngles results vary with the bone's current animation pose; setting angles before parenting throws the position off. Workarounds tried: parent an intermediate holo to the bone then parent yours to it; or skip parenting and setPos/setAngles every tick using getBonePosition (lags at speed); use localToWorld for composing angles. EF.BONEMERGE works if the holo shares a bone name with its parent.

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.