ScenePhysicsWorldClassCreateRigidBody Method |
Namespace:
NeoAxis
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2023.1.2.0 (2023.1.2.0)
Syntaxpublic ScenePhysicsWorldClassBody CreateRigidBody(
ScenePhysicsWorldClassShape shape,
bool shapeAutoDestroy,
Object owner,
PhysicsMotionType motionType,
float linearDamping,
float angularDamping,
ref Vector3 position,
ref QuaternionF rotation,
bool activate,
float mass,
bool centerOfMassManual,
ref Vector3F centerOfMassPosition,
ref Vector3F inertiaTensorFactor,
PhysicsMotionQuality motionQuality
)
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
- centerOfMassManual
- Type: SystemBoolean
- centerOfMassPosition
- Type: NeoAxisVector3F
- inertiaTensorFactor
- Type: NeoAxisVector3F
- motionQuality
- Type: NeoAxisPhysicsMotionQuality
Return Value
Type:
ScenePhysicsWorldClassBody
See Also