JSim 2026.06.01-p(1)
Loading...
Searching...
No Matches
jsim.api.GamePiecePhysics Class Reference

Public Member Functions

void applyMagnusEffect ()

Public Attributes

Translation3d linearVelocity = new Translation3d()
Translation3d angularVelocity = new Translation3d()

Detailed Description

Underlying physics state matching standard trajectory model for FlyingGamePiece.

Member Function Documentation

◆ applyMagnusEffect()

void jsim.api.GamePiecePhysics.applyMagnusEffect ( )
inline

Applies the Magnus effect to the game piece trajectory.

Member Data Documentation

◆ angularVelocity

Translation3d jsim.api.GamePiecePhysics.angularVelocity = new Translation3d()

The angular velocity of the game piece.

◆ linearVelocity

Translation3d jsim.api.GamePiecePhysics.linearVelocity = new Translation3d()

The linear velocity of the game piece.


The documentation for this class was generated from the following file: