Skip to content

luxe: system/physics/body3D.modifier


import "luxe: system/physics/body3D.modifier" for Body3D

no docs found

Body3D.unlisten(entity : Entity, handle : Handle) : Bool

no docs found

Body3D.listen(entity : Entity, fn : Fn) : unknown

no docs found

Body3D.get_aabb(entity : Entity) : List

no docs found

import "luxe: system/physics/body3D.modifier" for Data

no docs found

var motion_type : MotionType = MotionType.is_static
var motion_quality : MotionQuality = MotionQuality.discrete
var is_sensor : Bool = false
var allow_sleeping : Bool = true
var friction : Num = 0.2
var restitution : Num = 0.0
var linear_damping : Num = 0.05
var angular_damping : Num = 0.05
var max_linear_velocity : Num = 500.0
var max_angular_velocity : Num = 2700
var gravity_factor : Num = 1
var mass : Num = 1
var lock_movement : Float3 = [0, 0, 0]
var lock_rotation : Float3 = [0, 0, 0]
var use_manifold_reduction : Bool = true
var allow_dynamic_or_kinematic : Bool = false
var collide_kinematic_vs_non_dynamic : Bool = false
var apply_gyroscopic_force : Bool = false
var enhanced_internal_edge_removal : Bool = false
var velocity_steps_override : Num = 0
var position_steps_override : Num = 0
import "luxe: system/physics/body3D.modifier" for MotionQuality

no docs found

MotionQuality.discrete : unknown

no docs found

MotionQuality.linear_cast : unknown

no docs found

import "luxe: system/physics/body3D.modifier" for MotionType

no docs found

MotionType.is_static : unknown

no docs found

MotionType.is_dynamic : unknown

no docs found

MotionType.is_kinematic : unknown

no docs found

import "luxe: system/physics/body3D.modifier" for System

no docs found

System.new(world : World) : System

no docs found

System.init(world : World) : unknown

no docs found