Documentation

Up - Open Dev Kit Documentation

Open Dev Kit Documentation :: Game :: Physics Config Character Virtual :: Up

Game.PhysicsConfigCharacterVirtual.Up
up vector used for slope/contact classification; {0,0,0} auto-derives from inverse of scene gravity. Set explicitly for scenarios like loops, wall-running, or reoriented gravity where the character's up differs from the scene's.

Type

3D Vector

Lua Usage

-- Get
local value3DVector = physicsConfigCharacterVirtual.Up

-- Set
physicsConfigCharacterVirtual.Up = value3DVector

If you think anything is missing, please feel free to: submit documentation feedback on this page