Solid.Move

void Move(Vec3 position, Quat rotation)

This moves the Solid from its current location through space to the new location provided, colliding with things along the way. This is achieved by applying the velocity and angular velocity necessary to get to the destination in a single frame during the next physics step, then restoring the previous velocity info afterwards! See also Teleport for movement without collision.

   
Vec3 position The destination position!
Quat rotation The destination rotation!




Found an issue with these docs, or have some additional questions? Create an Issue on Github!