Skip to content

@fibbojs / 2d / FRigidBodyOptions

Interface: FRigidBodyOptions

Properties

enabledTranslations?

optional enabledTranslations: object

enableX

enableX: boolean

enableY

enableY: boolean

Defined in

2d/src/core/FRigidBody.ts:24


lockRotations?

optional lockRotations: boolean

Defined in

2d/src/core/FRigidBody.ts:23


lockTranslations?

optional lockTranslations: boolean

Defined in

2d/src/core/FRigidBody.ts:22


position?

optional position: FVector2

Defined in

2d/src/core/FRigidBody.ts:11


positionOffset?

optional positionOffset: FVector2

Defined in

2d/src/core/FRigidBody.ts:15


rigidBodyType?

optional rigidBodyType: FRigidBodyType

Defined in

2d/src/core/FRigidBody.ts:20


rotation?

optional rotation: number

Defined in

2d/src/core/FRigidBody.ts:12


rotationDegree?

optional rotationDegree: number

Defined in

2d/src/core/FRigidBody.ts:13


rotationDegreeOffset?

optional rotationDegreeOffset: number

Defined in

2d/src/core/FRigidBody.ts:17


rotationOffset?

optional rotationOffset: number

Defined in

2d/src/core/FRigidBody.ts:16


scale?

optional scale: FVector2

Defined in

2d/src/core/FRigidBody.ts:14


scaleOffset?

optional scaleOffset: FVector2

Defined in

2d/src/core/FRigidBody.ts:18


sensor?

optional sensor: boolean

Defined in

2d/src/core/FRigidBody.ts:21


shape?

optional shape: FShapes

Defined in

2d/src/core/FRigidBody.ts:19