A batch item used to apply a force to a PhysicsBody.
Property | Description |
---|---|
physicsBody | The PhysicsBody to write to. |
Constructor | Description |
---|---|
PhysicsBody.BatchForce | Create a default batch force, assigning the PhysicsBody. |
Method | Description |
---|---|
ApplyForce | Apply a force at a world point. If the force is not applied at the center of mass, it will generate a torque and affect the angular velocity. PhysicsBody.ApplyForce. |
ApplyForceToCenter | Apply a force to the center of mass. PhysicsBody.ApplyForceToCenter. |
ApplyTorque | Apply a torque. This affects the angular velocity without affecting the linear velocity. PhysicsBody.ApplyTorque. |