Header menu logo Nu

BodyShape Type

The shape of a physics body.

Union cases

Union case Description

BodyShapes BodyShape list

Full Usage: BodyShapes BodyShape list

Parameters:
Item : BodyShape list

BoxRoundedShape BoxRoundedShape

Full Usage: BoxRoundedShape BoxRoundedShape

Parameters:
Item : BoxRoundedShape

BoxShape BoxShape

Full Usage: BoxShape BoxShape

Parameters:
Item : BoxShape

CapsuleShape CapsuleShape

Full Usage: CapsuleShape CapsuleShape

Parameters:
Item : CapsuleShape

EmptyShape

Full Usage: EmptyShape

GeometryShape GeometryShape

Full Usage: GeometryShape GeometryShape

Parameters:
Item : GeometryShape

PointsShape PointsShape

Full Usage: PointsShape PointsShape

Parameters:
Item : PointsShape

SphereShape SphereShape

Full Usage: SphereShape SphereShape

Parameters:
Item : SphereShape

StaticModelShape StaticModelShape

Full Usage: StaticModelShape StaticModelShape

Parameters:
Item : StaticModelShape
Item : StaticModelSurfaceShape

TerrainShape TerrainShape

Full Usage: TerrainShape TerrainShape

Parameters:
Item : TerrainShape

Instance members

Instance member Description

this.HasSensors

Full Usage: this.HasSensors

Returns: bool

Check that a shape or any of its child shapes are sensors.

Returns: bool

this.IsBodyShapes

Full Usage: this.IsBodyShapes

Returns: bool
Returns: bool

this.IsBoxRoundedShape

Full Usage: this.IsBoxRoundedShape

Returns: bool
Returns: bool

this.IsBoxShape

Full Usage: this.IsBoxShape

Returns: bool
Returns: bool

this.IsCapsuleShape

Full Usage: this.IsCapsuleShape

Returns: bool
Returns: bool

this.IsEmptyShape

Full Usage: this.IsEmptyShape

Returns: bool
Returns: bool

this.IsGeometryShape

Full Usage: this.IsGeometryShape

Returns: bool
Returns: bool

this.IsPointsShape

Full Usage: this.IsPointsShape

Returns: bool
Returns: bool

this.IsSphereShape

Full Usage: this.IsSphereShape

Returns: bool
Returns: bool

this.IsStaticModelShape

Full Usage: this.IsStaticModelShape

Returns: bool
Returns: bool

this.IsStaticModelSurfaceShape

Full Usage: this.IsStaticModelSurfaceShape

Returns: bool
Returns: bool

this.IsTerrainShape

Full Usage: this.IsTerrainShape

Returns: bool
Returns: bool

this.PropertiesOpt

Full Usage: this.PropertiesOpt

Returns: BodyShapeProperties option

Get the shape's properties if they exist.

Returns: BodyShapeProperties option

this.TransformOpt

Full Usage: this.TransformOpt

Returns: Affine option

Get the shape's transform if it exists.

Returns: Affine option

Type something to start searching.