Demo3D 2022 API Documentation
Demo3D 2022 API Documentation
Demo3D Namespaces
Demo3D.Visuals Namespaces
Demo3D.Visuals
PhysicsRigidBody Class
PhysicsRigidBody Methods
ApplyForce Method
ApplyForce Method (Vector3)
ApplyForce Method (Vector3, Vector3)
PhysicsRigidBody
ApplyForce Method (Vector3, Vector3)
Applies the specified force to the point specified by the
offset
to the rigid body's center of mass.
Namespace:
Demo3D.Visuals
Assembly:
Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
Copy
public
void
ApplyForce
(
Vector3
force
,
Vector3
offset
)
Parameters
force
Type:
Microsoft.DirectX
Vector3
The force to apply in world space.
offset
Type:
Microsoft.DirectX
Vector3
The offset from the rigid body's center of mass in world space.
See Also
Reference
PhysicsRigidBody Class
ApplyForce Overload
Demo3D.Visuals Namespace
© Emulate3D Ltd. All rights reserved.
Send comments on this topic to
support@demo3d.com