Question by
lamichhanebibhu0 · Sep 29, 2017 at 03:26 PM ·
teleporting
Hello, how do i teleport my sphere player to spawn when it collides with the wall. Please help me it has been troubling me for a long time.
please help me
Comment
Answer by FortisVenaliter · Sep 29, 2017 at 04:44 PM
You set the transform's position to the destination point after detecting the collision with the standard callbacks.
can you please give me the codes @FortisVenaliter the coordinates i would like to teleport are 2.17, 0.5, -55.2 and the game object in which i am going to collide is named wall. Thanks for your help