Namespace of functions used to move objects in various ways.
- Source:
Methods
-
<static> applyForce(dynObject, position, forceVector)
-
Apply force to a dynamic object. Force is ineffective against locked, semi-locked and permanetly static objects.
Parameters:
Name Type Description dynObjectPhSim.DynObject positionVector forceVectorVector - Source:
-
<static> rotate(dynObject, angle, point)
-
Parameters:
Name Type Description dynObjectPhSim.DynObject angleNumber pointVector - Source:
-
<static> rotateTowards(dynObject, point)
-
Rotate dynamic object towards point
Parameters:
Name Type Description dynObjectPhSim.DynObject pointVector - Source:
-
<static> setAngle(dynObject, angle)
-
Parameters:
Name Type Description dynObjectPhSim.DynObject angleNumber - Source:
-
<static> setPosition(o, position)
-
Apply a transformation to a dynamic object. Setting positions is ineffective against locked and permanetly static objects.
Parameters:
Name Type Description oPhSim.DynObject positionVector - Source:
-
<static> setVelocity(dynObject, velocityVector)
-
Apply velocity to a dynamic object. Velocity does not effect locked, semi-locked objects or static objects.
Parameters:
Name Type Description dynObjectPhSim.DynObject velocityVectorVector - Source:
-
<static> translate(o, translationVector)
-
Apply a transformation to a dynamic object. Transformation does not move locked objects. However, it moves semi-locked objects and static objects.
Parameters:
Name Type Description oPhSimObject translationVectorVector - Source: