API Docs for: GoblinPhysics
Show:

CompoundShape Class

Constructor

CompoundShape

()

Methods

addChildShape

(
  • shape
  • position
  • rotation
)

Adds the child shape at position and rotation relative to the compound shape

Parameters:

  • shape Object
  • position Object
  • rotation Object

calculateLocalAABB

(
  • aabb
)

Calculates this shape's local AABB and stores it in the passed AABB object

Parameters:

Properties

ray_end {vec3} end point of the segment

Vec3

Checks if a ray segment intersects with the shape