Skip to content

physics3DInstallConfig

physics3DInstallConfig(world, shared): Partial<Physics3DConfig>

Defined in: sdk/src/physics3d/worldConfig.ts:68

Everything the 3D world is made with: the project’s 3D world settings, plus the two a game has only one of — the fixed step and the collision matrix — taken from the project’s physics settings, as 2D takes them.

Partial<Physics3DWorldConfig> | undefined

{ collisionLayerMasks?: number[]; fixedTimestep?: number; } | undefined

Partial<Physics3DConfig>