Class PathConstraintPathHermite

All Implemented Interfaces:
ConstJoltPhysicsObject, RefTarget, AutoCloseable, Comparable<JoltPhysicsObject>

public class PathConstraintPathHermite extends PathConstraintPath
A path that follows a Hermite spline.
  • Constructor Details

    • PathConstraintPathHermite

      public PathConstraintPathHermite()
      Instantiate an empty path.
  • Method Details

    • addPoint

      public void addPoint(Vec3Arg location, Vec3Arg tangent, Vec3Arg normal)
      Add a point to the end of the path.
      Parameters:
      location - the location of the point (not null, unaffected)
      tangent - the tangent direction at the point (not null, unaffected)
      normal - the normal direction at the point (not null, unaffected)