Skip to main content

Motor6DStackBase

Functions

TransformFromCFrame

Motor6DStackBase.TransformFromCFrame(
physicsTransformCFrameCFrame,--

The target CFrame for the physics transformer.

speednumber?--

Optional speed to set on the transformer.

) → Motor6DPhysicsTransformer--

The created transformer.

Creates and pushes a Motor6DPhysicsTransformer onto the stack from a current physics CFrame position.

Push

Motor6DStackBase.Push(
transformerMotor6DTransformer.Motor6DTransformer
) → () → ()

Push a Motor6DTransformer onto the animation stack.

Show raw api
{
    "functions": [
        {
            "name": "TransformFromCFrame",
            "desc": "Creates and pushes a Motor6DPhysicsTransformer onto the stack from a current physics CFrame position.",
            "params": [
                {
                    "name": "self",
                    "desc": "",
                    "lua_type": "Motor6DStackBase"
                },
                {
                    "name": "physicsTransformCFrame",
                    "desc": "The target CFrame for the physics transformer.",
                    "lua_type": "CFrame"
                },
                {
                    "name": "speed",
                    "desc": "Optional speed to set on the transformer.",
                    "lua_type": "number?"
                }
            ],
            "returns": [
                {
                    "desc": "The created transformer.",
                    "lua_type": "Motor6DPhysicsTransformer"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 52,
                "path": "src/motor6d/src/Shared/Stack/Motor6DStackBase.lua"
            }
        },
        {
            "name": "Push",
            "desc": "Push a Motor6DTransformer onto the animation stack.",
            "params": [
                {
                    "name": "self",
                    "desc": "",
                    "lua_type": "Motor6DStackBase"
                },
                {
                    "name": "transformer",
                    "desc": "",
                    "lua_type": "Motor6DTransformer.Motor6DTransformer"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "() -> ()\n"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 73,
                "path": "src/motor6d/src/Shared/Stack/Motor6DStackBase.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "Motor6DStackBase",
    "desc": "",
    "source": {
        "line": 5,
        "path": "src/motor6d/src/Shared/Stack/Motor6DStackBase.lua"
    }
}