Class: Jolt::Contact

Inherits:
Data
  • Object
show all
Defined in:
lib/jolt/contact_events.rb

Instance Attribute Summary collapse

Instance Attribute Details

#body_aObject (readonly)

Returns the value of attribute body_a

Returns:

  • (Object)

    the current value of body_a



4
5
6
# File 'lib/jolt/contact_events.rb', line 4

def body_a
  @body_a
end

#body_bObject (readonly)

Returns the value of attribute body_b

Returns:

  • (Object)

    the current value of body_b



4
5
6
# File 'lib/jolt/contact_events.rb', line 4

def body_b
  @body_b
end

#normalObject (readonly)

Returns the value of attribute normal

Returns:

  • (Object)

    the current value of normal



4
5
6
# File 'lib/jolt/contact_events.rb', line 4

def normal
  @normal
end

#penetrationObject (readonly)

Returns the value of attribute penetration

Returns:

  • (Object)

    the current value of penetration



4
5
6
# File 'lib/jolt/contact_events.rb', line 4

def penetration
  @penetration
end

#pointObject (readonly)

Returns the value of attribute point

Returns:

  • (Object)

    the current value of point



4
5
6
# File 'lib/jolt/contact_events.rb', line 4

def point
  @point
end

#sub_shape_aObject (readonly)

Returns the value of attribute sub_shape_a

Returns:

  • (Object)

    the current value of sub_shape_a



4
5
6
# File 'lib/jolt/contact_events.rb', line 4

def sub_shape_a
  @sub_shape_a
end

#sub_shape_bObject (readonly)

Returns the value of attribute sub_shape_b

Returns:

  • (Object)

    the current value of sub_shape_b



4
5
6
# File 'lib/jolt/contact_events.rb', line 4

def sub_shape_b
  @sub_shape_b
end