Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
module
GSDL::PhysicsController
Inherits
GSDL::Collidable
<
GSDL::Body
Instance methods
physics_move_x
(dt :
Float32
, collidables :
Array
(
GSDL::Collidable
), tile_map :
GSDL::TileMap
|
Nil
)
Source
physics_move_y
(dt :
Float32
, collidables :
Array
(
GSDL::Collidable
), tile_map :
GSDL::TileMap
|
Nil
)
Source
physics_resolve_overlap
(collidables :
Array
(
GSDL::Collidable
), tile_map :
GSDL::TileMap
|
Nil
)
Source
physics_update
(dt :
Float32
, collidables :
Array
(
GSDL::Collidable
) = [] of
Collidable
, tile_map :
TileMap
|
Nil
= nil)
Source
resolve_collision
(other :
GSDL::Collidable
, info :
GSDL::Collidable::CollisionInfo
)
Source
root_scene
Default implementation for non-Entity objects
Source