Smooth moving gate (Object)
#7

You have to use TWO functions at the SAME TIME:

pawn Код:
1. MoveDynamicObject() //Normally
2. SetDynamicObjectRot() //Using a repeating timer...
Key1: Object is closed
Key2: Object is opened.

So, to do the animation correctly:
-> Move the object Higher and closer to the Joint.
-> Using a timer rotate the object at a total of 90 degrees in X/Y axis (depending on your world postion).

Let me show you a picture:
Reply


Messages In This Thread
Smooth moving gate (Object) - by sim_sima - 04.08.2011, 13:13
Re: Smooth moving gate (Object) - by Famalamalam - 04.08.2011, 13:25
Re: Smooth moving gate (Object) - by sim_sima - 04.08.2011, 15:40
Re: Smooth moving gate (Object) - by sim_sima - 04.08.2011, 15:45
Re: Smooth moving gate (Object) - by Famalamalam - 04.08.2011, 15:50
Re: Smooth moving gate (Object) - by sim_sima - 05.08.2011, 13:49
Re: Smooth moving gate (Object) - by iPLEOMAX - 05.08.2011, 14:33
Re: Smooth moving gate (Object) - by sim_sima - 05.08.2011, 15:27
Re: Smooth moving gate (Object) - by iPLEOMAX - 05.08.2011, 16:01
Re: Smooth moving gate (Object) - by Michael@Belgium - 05.08.2011, 16:06
Re: Smooth moving gate (Object) - by sim_sima - 05.08.2011, 16:31

Forum Jump:


Users browsing this thread: 1 Guest(s)