package engine_entity_data_physics
Constants
Types
RigidBodyEntityData
struct
type RigidBodyEntityData struct {
Extent matrix.Vec3 `default:"1,1,1"`
Mass float32 `default:"1"`
Radius float32 `default:"1"`
Height float32 `default:"1"`
Shape Shape
IsStatic bool
}
RigidBodyEntityData.Init
Shape
const ( ShapeBox Shape = iota ShapeSphere ShapeCapsule ShapeCylinder ShapeCone )