-
Member
physics problem
I have it set so an airplane takes off at the end when you drive int the back of it,when I have the game state set to running it flies smooth,when I set it to game ends the plane snaps to the end,how do I get it to fly smooth once the game ends?
-
Senior Member
Re: physics problem
Can you give some more info? Is it moved by physics joint or OPE? What do you mean by changing the game state? Without this info it will be hard to help you out.
-
Member
Re: physics problem
By ope,and for my test just by pressing the back button I switch game state to running so I can watch the movement, when I switch to game ended so it only moves once the game is over,it doesn't,fly smooth it just jumps right to the end point
-
Senior Member
Re: physics problem
You will need to uncheck the enabled box for the OPE, interval trigger and curved data sources/vecors. Target them with a state event to enable them once you want the event to start (at the finish).
The problem you have is that the event data sources start from teh beginning of the track so that by the time you trigger the OPE they have reached their final point, causing the ope to jump to that point. 
So the final solution should be trigger ---> state event "ON" ----> OPE, data sources and interval trigger.
-
Member
Re: physics problem
That was my first try,I unchecked all the enable boxes, and when I drive into the trigger nothing happens,so that's why I was trying the game ends filter
-
Senior Member
Re: physics problem
The game ends filter will result in some timing issues for your leaderboards and is best avoided in a trials track tbh.
If you put an area trigger at the end of the track (enabled) and target a state event ON which targets the OPE, data sources and Interval trigger, it should work. From whats happening, it sounds like you maybe forgot to disable one of the data sources? Otherwise, that circuit should work.
-
Member
Re: physics problem
Ok I will go back to the trigger and state event,and double check my setting,this is my first ope!I got moving right,just not the right time,if the trigger works it will be perfect! Thanks
-
Senior Member
Re: physics problem
No problem, everyone tried it the first time at some point. I'm sure we'll get it working for you.
-
Member
Re: physics problem
I am at work so I can't try till after 10 pm,I can't stop thinking about it!haha
-
Member
Re: physics problem
Ok got it,I was unchecking,the enable box on the state event to I figured the trigger would turn it on I guess not,and I was using a second state event to turn on the linear curve but you only need one,thanks your trigger-->state event---> ope,helped me get it!