Verse Library verse

01 Fragment

Retrieves local transform and extracts forward, up, and left directional vectors for spatial math.

verse-library/verse-anim-move-to-target/01-fragment.verse

# The transform is just three facts about where a thing sits:
# where (Translation), which way it faces (Rotation), and how big (Scale).
Here := Entity.GetLocalTransform()
Forward := Here.Translation.Forward
Up := Here.Translation.Up
Left := Here.Translation.Left

Comments

    Sign in to vote, comment, or suggest an edit. Sign in