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
Erarnitox

Camera Transition/Lerp Script

Question

Posted (edited)

hey there i made a small script and it should only transition between cameras when the room was entered. 

The first 2-3 times it always works but then it wouldnt work and work sometimes again.

here is a video of the problem: 

 

and here is the script just without the debug output (debug log in video gets called on trigger enter) 

Please login or register to see this code.

i feel stupid ^^ should be something simple im missing.

The script gets assigned to each room, both of them have a box collider which is marked as trigger. 

 

Thanks for the help :)

 

Edit: I have fixed it! If you want you can use the code. Here is the fixed Version: 

Please login or register to see this code.

 

Edited by Erarnitox

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Guest
This topic is now closed to further replies.

×
×
  • Create New...