|
JSim 2026.06.01-p(1)
|
Public Member Functions | |
| Fuel2026 () | |
| void | shoot (Translation3d relativeStart, double timeOfFlight, Rotation3d exitAngle) |
| Public Member Functions inherited from jsim.api.GamePieceState | |
| GamePieceState (GamePieceType type) | |
| GamePieceType | getType () |
| void | setVelocity (LinearVelocity3d velocity) |
| void | setRotation (Rotation3d rotation) |
| LinearVelocity3d | getVelocity () |
| Rotation3d | getRotation () |
| void | setRobotOffsetStart (Translation2d offset) |
| Translation2d | getRobotOffsetStart () |
| void | setExitVelocity (LinearVelocity3d velocity) |
| LinearVelocity3d | getExitVelocity () |
| void | setExitAngle (Rotation3d angle) |
| Rotation3d | getExitAngle () |
| void | intakeZone (Translation3d[] intakeArea) |
| Translation3d[] | getIntakeArea () |
Additional Inherited Members | |
| Public Attributes inherited from jsim.api.GamePieceState | |
| GamePieceType | type |
| LinearVelocity3d | velocity |
| Rotation3d | rotation |
| Translation2d | robotOffsetStart |
| LinearVelocity3d | exitVelocity |
| Rotation3d | exitAngle |
| Translation3d[] | intakeArea |
Represents a 2026 Fuel game piece. Integrates vector, quaternion, and matrix math for simulation.
|
inline |
Constructs a Fuel2026 game piece.
|
inline |
Simulates shooting the fuel game piece using vector and quaternion math.
| relativeStart | The relative start position. |
| timeOfFlight | The time of flight. |
| exitAngle | The exit angle (as Rotation3d, converted to Quaternion). |