Skip to content

luxe: system/physics/physics3D.modifier


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

no docs found

var gravity : Float3 = [0, -9.8, 0]
import "luxe: system/physics/physics3D.modifier" for Physics3D

no docs found

Physics3D.create_in(world : World) : unknown

no docs found

Physics3D.query_box(world : World, center : Float3, size : Float3) : Any

no docs found

Physics3D.query_sphere(world : World, center : Float3, radius : Num) : List

no docs found

Physics3D.cast_ray_closest(world : World, origin : Float3, dir : Float3, distance : Num) : CastRayResult

no docs found

Physics3D.cast_ray(world : World, origin : Float3, dir : Float3, distance : Num) : unknown

Cast a ray into the world and return all hits, sorted by closest first

Physics3D.set_debug_draw(world : World, state : Bool) : None

no docs found

Physics3D.unlisten(world : World, handle : Handle) : Bool

no docs found

Physics3D.listen(world : World, fn : Fn) : unknown

no docs found

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

no docs found

System.new(world : World) : System

no docs found

System.init(world : World) : unknown

no docs found