Header menu logo Nu

BodyId Type

Identifies a body that can be found in a physics engine.

Record fields

Record Field Description

BodyIndex

Full Usage: BodyIndex

Field type: int
Field type: int

BodySource

Full Usage: BodySource

Field type: Simulant
Field type: Simulant

Static members

Static member Description

BodyId.compare bid bid2

Full Usage: BodyId.compare bid bid2

Parameters:
Returns: int

Compare BodyIds.

bid : BodyId
bid2 : BodyId
Returns: int

BodyId.equals bid bid2

Full Usage: BodyId.equals bid bid2

Parameters:
Returns: bool

Equate BodyIds.

bid : BodyId
bid2 : BodyId
Returns: bool

BodyId.hash bid

Full Usage: BodyId.hash bid

Parameters:
Returns: int

Hash a BodyId.

bid : BodyId
Returns: int

Type something to start searching.