Class: Entity
Lua
C++
Edit

Entity::SetPhysicsMode

This method selects the entity physics behavior.

Syntax

  • void SetPhysicsMode(const PhysicsMode mode)
Parameter Description
mode physics mode, can be PHYSICS_DISABLED, PHYSICS_RIGIDBODY, or PHYSICS_PLAYER
Copyright © 2006-2026 Leadwerks Software.
All rights reserved.