Click or drag to resize

ScenePhysicsWorldClassCreateConstraintSixDOF Method

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public ScenePhysicsWorldClassSixDOFConstraint CreateConstraintSixDOF(
	Object owner,
	ScenePhysicsWorldClassBody bodyA,
	ScenePhysicsWorldClassBody bodyB,
	bool transformInWorldSpace,
	ref Vector3 positionA,
	ref QuaternionF rotationA,
	ref Vector3 positionB,
	ref QuaternionF rotationB,
	ref Vector3F visualScale,
	PhysicsAxisMode linearAxisX,
	ref RangeF linearLimitX,
	PhysicsAxisMode linearAxisY,
	ref RangeF linearLimitY,
	PhysicsAxisMode linearAxisZ,
	ref RangeF linearLimitZ,
	PhysicsAxisMode angularAxisX,
	ref RangeF angularLimitX,
	PhysicsAxisMode angularAxisY,
	ref RangeF angularLimitY,
	PhysicsAxisMode angularAxisZ,
	ref RangeF angularLimitZ,
	float linearXFriction,
	float linearYFriction,
	float linearZFriction,
	float angularXFriction,
	float angularYFriction,
	float angularZFriction
)

Parameters

owner
Type: SystemObject
bodyA
Type: NeoAxisScenePhysicsWorldClassBody
bodyB
Type: NeoAxisScenePhysicsWorldClassBody
transformInWorldSpace
Type: SystemBoolean
positionA
Type: NeoAxisVector3
rotationA
Type: NeoAxisQuaternionF
positionB
Type: NeoAxisVector3
rotationB
Type: NeoAxisQuaternionF
visualScale
Type: NeoAxisVector3F
linearAxisX
Type: NeoAxisPhysicsAxisMode
linearLimitX
Type: NeoAxisRangeF
linearAxisY
Type: NeoAxisPhysicsAxisMode
linearLimitY
Type: NeoAxisRangeF
linearAxisZ
Type: NeoAxisPhysicsAxisMode
linearLimitZ
Type: NeoAxisRangeF
angularAxisX
Type: NeoAxisPhysicsAxisMode
angularLimitX
Type: NeoAxisRangeF
angularAxisY
Type: NeoAxisPhysicsAxisMode
angularLimitY
Type: NeoAxisRangeF
angularAxisZ
Type: NeoAxisPhysicsAxisMode
angularLimitZ
Type: NeoAxisRangeF
linearXFriction
Type: SystemSingle
linearYFriction
Type: SystemSingle
linearZFriction
Type: SystemSingle
angularXFriction
Type: SystemSingle
angularYFriction
Type: SystemSingle
angularZFriction
Type: SystemSingle

Return Value

Type: ScenePhysicsWorldClassSixDOFConstraint
See Also