Posts: 344
Threads: 88
Joined: Jun 2014
Reputation:
0
Hi !
How to make a script that can launch objects into the air ?
I think I'll have to use the plugin MapAndreas ...
Thanks !
Posts: 3,133
Threads: 71
Joined: Dec 2013
Reputation:
0
Well launching them into the air is changing their Z which seems fairly simple to me. What are you planning on doing? Making a player launch them? Having a rocketship launch itself into the air?
If you just want to make it go upwards into the air, changing it's Z is the solution.
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
Making an object move along an arc is quite difficult since MoveObject only moves objects in a straight line. So to get the illusion of smoothness you'd have to calculate and then change the position roughly every 40 milliseconds (for that "silky smooth 24 fps"). I imagine this would be quite taxing on the CPU and it's not something you'd use on your everyday server.