¶
luxe
API (2025.1.2
)¶
luxe: system/physics/physics3D.modifier
module¶
Data¶
import "luxe: system/physics/physics3D.modifier" for Data
no docs found
var gravity : Float3 = [0, -9.8, 0]
Physics3D¶
import "luxe: system/physics/physics3D.modifier" for Physics3D
no docs found
- create_in(world:
World
) - cast_ray_closest(world:
World
, origin:Float3
, dir:Float3
, distance:Num
) - cast_ray(world:
World
, origin:Float3
, dir:Float3
, distance:Num
) - set_debug_draw(world:
World
, state:Bool
) - unlisten(world:
World
, handle:Handle
) - listen(world:
World
, fn:Fn
)
World
)
¶unknown
no docs found
World
, origin: Float3
, dir: Float3
, distance: Num
)
¶CastRayResult
no docs found
World
, origin: Float3
, dir: Float3
, distance: Num
)
¶unknown
Cast a ray into the world and return all hits, sorted by closest first
World
, state: Bool
)
¶None
no docs found
World
, handle: Handle
)
¶Bool
no docs found
World
, fn: Fn
)
¶unknown
no docs found
System¶
import "luxe: system/physics/physics3D.modifier" for System
no docs found
World
)
¶System
no docs found
World
)
¶unknown
no docs found