Class: Box2D::ContactHit
- Inherits:
-
Data
- Object
- Data
- Box2D::ContactHit
- Defined in:
- lib/box2d/events.rb
Instance Attribute Summary collapse
-
#approach_speed ⇒ Object
readonly
Returns the value of attribute approach_speed.
-
#normal ⇒ Object
readonly
Returns the value of attribute normal.
-
#point ⇒ Object
readonly
Returns the value of attribute point.
-
#shape_a ⇒ Object
readonly
Returns the value of attribute shape_a.
-
#shape_b ⇒ Object
readonly
Returns the value of attribute shape_b.
Instance Attribute Details
#approach_speed ⇒ Object (readonly)
Returns the value of attribute approach_speed
6 7 8 |
# File 'lib/box2d/events.rb', line 6 def approach_speed @approach_speed end |
#normal ⇒ Object (readonly)
Returns the value of attribute normal
6 7 8 |
# File 'lib/box2d/events.rb', line 6 def normal @normal end |
#point ⇒ Object (readonly)
Returns the value of attribute point
6 7 8 |
# File 'lib/box2d/events.rb', line 6 def point @point end |
#shape_a ⇒ Object (readonly)
Returns the value of attribute shape_a
6 7 8 |
# File 'lib/box2d/events.rb', line 6 def shape_a @shape_a end |
#shape_b ⇒ Object (readonly)
Returns the value of attribute shape_b
6 7 8 |
# File 'lib/box2d/events.rb', line 6 def shape_b @shape_b end |