Class: SDC::CollisionShapeBox
- Inherits:
-
Object
- Object
- SDC::CollisionShapeBox
- Defined in:
- engine_docs/automatic_doc_CollisionShapeBox.rb,
engine_docs/automatic_doc_CollisionShapeBox.rb
Overview
Collision shape class for an axis-aligned rectangle
Instance Attribute Summary collapse
-
#scale ⇒ Coordinates
Scale factor vector of the box shape.
-
#size ⇒ Coordinates
Size vector of the box shape.
Instance Method Summary collapse
-
#initialize(offset, size) ⇒ CollisionShapeBox
constructor
Creates a box collision shape with the given size.
Constructor Details
#initialize(offset, size) ⇒ CollisionShapeBox
Creates a box collision shape with the given size
|
# File 'engine_docs/automatic_doc_CollisionShapeBox.rb', line 9
|
Instance Attribute Details
#scale ⇒ Coordinates
Scale factor vector of the box shape
|
# File 'engine_docs/automatic_doc_CollisionShapeBox.rb', line 20
|
#size ⇒ Coordinates
Size vector of the box shape
|
# File 'engine_docs/automatic_doc_CollisionShapeBox.rb', line 16
|