Class: SDC::CollisionShapeBox

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(offset, size) ⇒ CollisionShapeBox

Creates a box collision shape with the given size

Parameters:



# File 'engine_docs/automatic_doc_CollisionShapeBox.rb', line 9

Instance Attribute Details

#scaleCoordinates

Scale factor vector of the box shape

Returns:



# File 'engine_docs/automatic_doc_CollisionShapeBox.rb', line 20

#sizeCoordinates

Size vector of the box shape

Returns:



# File 'engine_docs/automatic_doc_CollisionShapeBox.rb', line 16