Verse Library verse

01 Fragment

Applies an upward velocity vector to a character body for instant movement without physics impulses.

verse-library/verse-char-move-teleport/01-fragment.verse

# Pop a character straight up. A /Verse.org/SpatialMath vector3 uses
# Forward / Left / Up (NOT X/Y/Z) — the Scene Graph axis convention.
Up := vector3{ Forward := 0.0, Left := 0.0, Up := 15.0 }
Body.SetLinearVelocity(Up)

Comments

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