Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
GSDL::Collidable::CollisionInfo
Inherits
Struct
<
Value
<
Object
Constructors
new
(hit :
Bool
= false, normal :
Point
=
Point
.new(0, 0), penetration :
Float32
= 0_f32)
Source
Instance methods
hit=
(hit :
Bool
)
Source
hit?
Source
normal
Source
normal=
(normal :
Point
)
Source
penetration
Source
penetration=
(penetration :
Float32
)
Source