How can I make a physics object jump to a specific location(instantly)?

B

Bonny Fernandes

Guest
I want a physics object to jump to a location(xx,yy). I can't directly change the x and y of the object since it is a physics object. Also, there are other physics objects in it's path and I don't want to collide with them while this object 'teleports'. The only way I know how to do this is to destroy the object and create another instance of the object at the destination. But I feel there should be a better way to achieve this. Please help
 
Top