PivotPoint2D and PivotPoint3D

Top  Previous  Next

The PivotPoint2D and PivotPoint3D classes take Position2D/3D and Orientation2D/3D objects and allow them to be easily rotated around pivot points using rotational velocity and rotational acceleration.  They also provide static functions that can be used to rotate any Vector3 and Quaternion around a specified pivot point.  These are very useful if you want to rotate particles around a position other than the particle's center.


For specific information on the class functions and properties see the DPSF API Documentation and the tutorial on using position, orientation, and pivot points.