Jump to content
This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

  • 0
Epic-Shot

Teleport Script, Move To Raycast Position Over Time.

Question

Hi All... A while back aldonetto from answers.unity3d helped me get a teleport script working.

I have modified to have Audio - Particle FX (Though particle FX Wont Disable)

Here is the script, Below it i will post info on the actual issue :)

Please login or register to see this spoiler.

 

So.. When the raycast hits and teleports me there... I don't want it to be instant.. I want it to take a little time.. like.. 1.5 So my particle FX can have enough time to play and still look - function beautifully.

I'm not sure how to use timers or pretty much anything to do with vectors - transform.. So this has been pretty much impossible for me to do myself. So I'm here "Best Unity Community" Asking For Your Help! Information is greatly appreciated, Thank you for the time you took to read this post .

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts


Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...