class PhysicsConfigurator
- PhysicsConfigurator
- Reference
- Object
Defined in:
utils/physics_systems.crInstance Method Summary
- #collide(mat : PhysicsMaterial, mat2 : PhysicsMaterial = @cur_material)
- #collide_event(mat : PhysicsMaterial, mat2 : PhysicsMaterial, event_type, *, first_only = false)
- #collide_event(mat : PhysicsMaterial, event_type, *, first_only = false)
- #damping(f)
- #gravity(x, y)
- #maps : PhysicsCollisionMaps
- #material(mat : PhysicsMaterial, *, density : Float64, friction : Float64, elasticity : Float64, def_radius : Float64 = 0.0, static : Bool = false, kinematic : Bool = false, non_rotating : Bool = false)
- #material(mat : PhysicsMaterial, *, density : Float64, friction : Float64, elasticity : Float64, def_radius : Float64 = 0.0, static : Bool = false, kinematic : Bool = false, non_rotating : Bool = false, &)
- #pass(mat : PhysicsMaterial, mat2 : PhysicsMaterial = @cur_material)
- #pass_event(mat : PhysicsMaterial, mat2 : PhysicsMaterial, event_type, *, first_only = false)
- #pass_event(mat : PhysicsMaterial, event_type, *, first_only = false)
- #process(&)
- #processable(mat : PhysicsMaterial, mat2 : PhysicsMaterial = @cur_material, &processor : CollisionProcessor)
Instance Method Detail
def collide_event(mat : PhysicsMaterial, mat2 : PhysicsMaterial, event_type, *, first_only = false)
#
def material(mat : PhysicsMaterial, *, density : Float64, friction : Float64, elasticity : Float64, def_radius : Float64 = 0.0, static : Bool = false, kinematic : Bool = false, non_rotating : Bool = false)
#
def material(mat : PhysicsMaterial, *, density : Float64, friction : Float64, elasticity : Float64, def_radius : Float64 = 0.0, static : Bool = false, kinematic : Bool = false, non_rotating : Bool = false, &)
#
def processable(mat : PhysicsMaterial, mat2 : PhysicsMaterial = @cur_material, &processor : CollisionProcessor)
#