API
Methods
Translate
POST
Translate(Vector3 velocity)
Invoking this method will recalculate the position of the object the Handle is attached to, taking the new velocity into account.
Path Parameters
Velocity
number
Vector3 that represents the force you are applying to the object.
Rotate
POST
Rotate(Vector3 velocity)
Invoking this method will recalculate the rotation of the object the Handle is attached to after adding the new velocity.
Path Parameters
Velocity
number
Vector3 that represents the rotation force you are applying to the object.
Scale
POST
Scale(Vector3 velocity)
Invoking this method will make the Handle recalculate the scale of its attached object, taking into account the new scale velocity.
Path Parameters
Velocity
number
Vector3 that represents the scale force you are applying to the object.
Extension Methods
PlayStop
POST
PlayStop(SequenceStop stop, float multiplier)
Invoking this method will play a stop on this Handle, it will also apply the multiplier passed to it
Path Parameters
Multiplier
number
Simple multiplier to change the forces a bit.
Stop
object
SequenceStop value that determines what forces to apply and how long to apply them.
PlaySequence
POST
PlaySequence(SequenceStop[] stops)
Invoking this method will play a sequence of stops, all of these stops have their own sets of forces and will take a specific time to complete.
Path Parameters
Stops
array
Array of stops that you are trying to apply to this Handle's object.
Last updated
Was this helpful?