Click or drag to resize

ScenePhysicsWorldClassCreateRigidBody Method

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public ScenePhysicsWorldClassBody CreateRigidBody(
	ScenePhysicsWorldClassShape shape,
	bool shapeAutoDestroy,
	Object owner,
	PhysicsMotionType motionType,
	float linearDamping,
	float angularDamping,
	ref Vector3 position,
	ref QuaternionF rotation,
	bool activate,
	float mass,
	ref Vector3F centerOfMassOffset,
	PhysicsMotionQuality motionQuality,
	bool characterMode
)

Parameters

shape
Type: NeoAxisScenePhysicsWorldClassShape
shapeAutoDestroy
Type: SystemBoolean
owner
Type: SystemObject
motionType
Type: NeoAxisPhysicsMotionType
linearDamping
Type: SystemSingle
angularDamping
Type: SystemSingle
position
Type: NeoAxisVector3
rotation
Type: NeoAxisQuaternionF
activate
Type: SystemBoolean
mass
Type: SystemSingle
centerOfMassOffset
Type: NeoAxisVector3F
motionQuality
Type: NeoAxisPhysicsMotionQuality
characterMode
Type: SystemBoolean

Return Value

Type: ScenePhysicsWorldClassBody
See Also