Skip to main content

Type Alias: ConstraintActuator

type ConstraintActuator = {
linearStiffness: Vec3;
linearDamping: Vec3;
linearForceLimit: Vec3;
angularStiffness: Vec3;
angularDamping: Vec3;
angularForceLimit: Vec3;
type: Int32;
goalPosition: Vec3;
goalOrientation: Quat;
linearVelocity: Vec3;
angularVelocity: Vec3;
};

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:253

Properties

linearStiffness

linearStiffness: Vec3;

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:258

If greater than zero, the limit is soft, i.e. a spring pulls the joint back to the limit.

Default Value

(0, 0, 0);

linearDamping

linearDamping: Vec3;

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:263

If greater than zero, this is the damping of the limit spring.

Default Value

(0, 0, 0);

linearForceLimit

linearForceLimit: Vec3;

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:268

The maximum impulse or force that can be exerted by the drive. -1 for no limit.

Default Value

(-1, -1, -1);

angularStiffness

angularStiffness: Vec3;

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:273

If greater than zero, the limit is soft, i.e. a spring pulls the joint back to the limit.

Default Value

(0, 0, 0);

angularDamping

angularDamping: Vec3;

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:278

If greater than zero, this is the damping of the limit spring.

Default Value

(0, 0, 0);

angularForceLimit

angularForceLimit: Vec3;

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:283

The maximum impulse or force that can be exerted by the drive. -1 for no limit.

Default Value

(-1, -1, -1);

type

type: Int32;

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:288

The drive type

Default Value

1;

goalPosition

goalPosition: Vec3;

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:293

The goal position for linear drive.

Default Value

(0, 0, 0);

goalOrientation

goalOrientation: Quat;

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:298

The goal orientation for angular drive.

Default Value

(0, 0, 0, 1);

linearVelocity

linearVelocity: Vec3;

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:303

The goal velocity for linear drive.

Default Value

(0, 0, 0);

angularVelocity

angularVelocity: Vec3;

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:308

The goal velocity for angular drive.

Default Value

(0, 0, 0);