Click or drag to resize

ScenePhysicsWorldClassCreateRigidBody Method


Namespace: NeoAxis
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.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  ScenePhysicsWorldClassShape
 
shapeAutoDestroy  Boolean
 
owner  Object
 
motionType  PhysicsMotionType
 
linearDamping  Single
 
angularDamping  Single
 
position  Vector3
 
rotation  QuaternionF
 
activate  Boolean
 
mass  Single
 
centerOfMassOffset  Vector3F
 
motionQuality  PhysicsMotionQuality
 
characterMode  Boolean
 

Return Value

ScenePhysicsWorldClassBody
See Also