playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Prevent Vect3 from Being Either NaN or Infinity
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Prevent Vect3 from Being Either NaN or Infinity (Read 1471 times)
Xander Davis
Playmaker Newbie
Posts: 24
Prevent Vect3 from Being Either NaN or Infinity
«
on:
July 19, 2017, 03:30:42 AM »
How can I prevent a Vect3 from being either NaN or Infinity? This happens after using the 'Nav Mesh Sample Position' action, sometimes. It prevents me from setting a Move Target position.
Help?
Logged
Xander Davis
Playmaker Newbie
Posts: 24
Re: Prevent Vect3 from Being Either NaN or Infinity
«
Reply #1 on:
July 19, 2017, 03:55:33 AM »
I don't need to know this now, but it would probably be good for everyone's reference if you do know how to do this.
Logged
djaydino
Administrator
Hero Member
Posts: 7616
Re: Prevent Vect3 from Being Either NaN or Infinity
«
Reply #2 on:
July 19, 2017, 04:25:52 AM »
Hi,
I think you need to use the 'nearest Point Not Found' Event and in the next state set the vector 3 to a value.
or set a next frame event instead of a value and point it back to try again.
Logged
Join the PlayMaker Discord Channel!
Xander Davis
Playmaker Newbie
Posts: 24
Re: Prevent Vect3 from Being Either NaN or Infinity
«
Reply #3 on:
July 19, 2017, 04:39:01 AM »
Thanks!
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Prevent Vect3 from Being Either NaN or Infinity