SpringJointData

Hierarchy

Index

Properties

Optional collision

Find examples in Playground
collision: boolean

The collision of the joint

Optional connectedAxis

Find examples in Playground
connectedAxis: Vector3

The connected axis of the joint

Optional connectedPivot

Find examples in Playground
connectedPivot: Vector3

The connected pivot of the joint

damping

Find examples in Playground
damping: number

Damping of the spring

forceApplicationCallback

Find examples in Playground
forceApplicationCallback: function

this callback will be called when applying the force to the impostors.

Type declaration

    • (): void
    • Returns void

length

Find examples in Playground
length: number

Length of the spring

Optional mainAxis

Find examples in Playground
mainAxis: Vector3

The main axis of the joint

Optional mainPivot

Find examples in Playground
mainPivot: Vector3

The main pivot of the joint

Optional nativeParams

Find examples in Playground
nativeParams: any

Native Oimo/Cannon/Energy data

stiffness

Find examples in Playground
stiffness: number

Stiffness of the spring

Generated using TypeDoc