Class CollisionCuboid
This is a shape that has a position, width, depth and height.
Inherited Members
Namespace: Slipe.Shared.CollisionShapes
Assembly: SlipeShared.dll
Syntax
public class CollisionCuboid : CollisionShape
Constructors
| Improve this Doc View SourceCollisionCuboid(Vector3, Vector3)
Creates a colision cuboid. The position of the col starts at the southwest bottom corner of the shape.
Declaration
public CollisionCuboid(Vector3 position, Vector3 dimensions)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | position | The position of the south western corner |
Vector3 | dimensions | The length, width and depth of the cuboid |