High-level handle to a simulated rigid body. All reads and writes use WPILib geometry types. Obtain instances exclusively through SimWorld.addBody(SimBodyBuilder).
ActuatorForceactuator=body.getActuator();// Apply a force at the centre of mass (world frame, N):actuator.setForce(fx,fy,fz);// Apply a torque (world frame, N·m):actuator.setTorque(tx,ty,tz);// Apply a force at an off-centre point (generates torque automatically):actuator.setForceAtPoint(fx,fy,fz,px,py,pz);// Clear all inputs (e.g. on disable):actuator.zero();