Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Practical on February 01, 2018, 06:17:20 AM

Title: Vector 3
Post by: Practical on February 01, 2018, 06:17:20 AM
Object1 is rotating without stopping on z axis. When he reaches z axis value at a point of - say 1,672, that triggers some other action on Object 2 FSM.
Now, I was trying to do that by using Vector 3 but I don't know how, should Vector 3 be on Obj1 or on Obj2, what variable then to use and how? Is there any other way around?
Title: Re: Vector 3
Post by: djaydino on February 03, 2018, 02:08:55 PM
Hi.
The hard part is to know that it rotated x times.
because when it rotated 360 degrees it goes back to 0 (or -180 / +180 not sure)

if you have a constant speed rotation you could calculate the time spend and use a wait.
Then send an event to object 2 when wait is done.