how to move object like this?
#5

This is a fs that I did to make you understand how physics work.. might help you better understand how it works instead of looking in the big code recommended by Riddick94

http://pastebin.com/gUbRxbY4

basically you have to joke with this configs

pawn Код:
OBJ[ID][vx] = floatsin(-ang, degrees) * -5.5;
OBJ[ID][vy] = floatcos(-ang, degrees) * -5.5;
OBJ[ID][vz] = -3.5;
OBJ[ID][gravity] = 10.1;
OBJ[ID][bounce_factor] = 40.49;
OBJ[ID][radiuss] = 0.2;
OBJ[ID][friction] =  0.001;
You can find them in the test command

If you don't want mapandreas just set the z cord as you wish and the object will bounce when the object pos is < than z cord
Reply


Messages In This Thread
how to move object like this? - by newbienoob - 20.01.2014, 09:40
Re: how to move object like this? - by MP2 - 20.01.2014, 09:46
Re: how to move object like this? - by newbienoob - 20.01.2014, 10:02
Re: how to move object like this? - by Riddick94 - 20.01.2014, 10:52
Re: how to move object like this? - by iJumbo - 20.01.2014, 11:10

Forum Jump:


Users browsing this thread: 1 Guest(s)