CompoundShape Class
Constructor
CompoundShape
()
Item Index
Methods
Properties
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:
-
aabb
AABB
Properties
ray_end {vec3} end point of the segment
Vec3
Checks if a ray segment intersects with the shape