Package net.timtaran.interactivemc.util
Class PlayerBodyPartTransforms
java.lang.Object
net.timtaran.interactivemc.util.PlayerBodyPartTransforms
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.github.stephengold.joltjni.Vec3getGrabPointRotatedLocal(com.github.stephengold.joltjni.Quat rotation, PlayerBodyPart bodyPart, float scale) static com.github.stephengold.joltjni.RVec3getGrabPointRotatedWorld(com.github.stephengold.joltjni.RVec3 position, com.github.stephengold.joltjni.Quat rotation, PlayerBodyPart bodyPart, float scale) static com.github.stephengold.joltjni.Vec3getTrackingOffsetLocal(com.github.stephengold.joltjni.Quat rotation, PlayerBodyPart bodyPart, float scale) static com.github.stephengold.joltjni.RVec3getTrackingOffsetWorld(com.github.stephengold.joltjni.RVec3 position, com.github.stephengold.joltjni.Quat rotation, PlayerBodyPart bodyPart, float scale)
-
Constructor Details
-
PlayerBodyPartTransforms
public PlayerBodyPartTransforms()
-
-
Method Details
-
getGrabPointRotatedLocal
public static com.github.stephengold.joltjni.Vec3 getGrabPointRotatedLocal(com.github.stephengold.joltjni.Quat rotation, PlayerBodyPart bodyPart, float scale) -
getGrabPointRotatedWorld
public static com.github.stephengold.joltjni.RVec3 getGrabPointRotatedWorld(com.github.stephengold.joltjni.RVec3 position, com.github.stephengold.joltjni.Quat rotation, PlayerBodyPart bodyPart, float scale) -
getTrackingOffsetLocal
public static com.github.stephengold.joltjni.Vec3 getTrackingOffsetLocal(com.github.stephengold.joltjni.Quat rotation, PlayerBodyPart bodyPart, float scale) -
getTrackingOffsetWorld
public static com.github.stephengold.joltjni.RVec3 getTrackingOffsetWorld(com.github.stephengold.joltjni.RVec3 position, com.github.stephengold.joltjni.Quat rotation, PlayerBodyPart bodyPart, float scale)
-