Struct PlaneShape
Infinite plane shape for 3D collisions.
struct PlaneShape
;
An infinite plane shape for 3D collisions. Note that the Plane
's normal matters; anything "below" the plane will collide with it. If the PlaneShape
is used in a PhysicsBody
, it will cause colliding objects placed "below" it to teleport "above" the plane.
Properties
Name | Type | Description |
---|---|---|
plane [get, set]
|
Plane | The Plane used by the PlaneShape for collision.
|
Methods
Name | Description |
---|---|
getPlane
|
|
setPlane
|