Scripts / Playing around in lock down with AmenMoses Heli script ( Space rocks )

Author
Message
PCS
7
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 29th Mar 2020 09:09 Edited at: 29th Mar 2020 09:14
We are in lock down so i am bored , so i am playing around with AM helli script on rocks. lol


Sorry for the bad video quality
Windows 7 Professional 64-bit
Intel(R) Pentium(R) CPU G3260 @ 3.30GHz (2 CPUs), ~3.3GHz RAM 16GB NVIDIA GeForce GT 730
DirectX Version: DirectX 11
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 29th Mar 2020 14:01
Sort of like using a steam hammer to crack a nut.
Been there, done that, got all the T-Shirts!
PM
PCS
7
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 29th Mar 2020 14:34
Quote: "Sort of like using a steam hammer to crack a nut."

LOL yes i know, but it looks cool,

maybe i must try and cook up a new script that place the rock on a random height and then let it move randomly on that height ,
then i think the only tough part would be to make sure they don't bump it to each other.
Windows 7 Professional 64-bit
Intel(R) Pentium(R) CPU G3260 @ 3.30GHz (2 CPUs), ~3.3GHz RAM 16GB NVIDIA GeForce GT 730
DirectX Version: DirectX 11
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 29th Mar 2020 16:01
The way I did it for my 3D asteroids demo was to treat them as spheres and simply check the distance between them each frame.

If any of the spheres intersect then calculate a new vector to separate them so they appear to bounce off each other.

The trick is to calculate where the rock is going to be, then calculate possible collisions, then alter their vectors to mimic the collision and finally move them to the new position.

Good luck.
Been there, done that, got all the T-Shirts!
PM

Login to post a reply

Server time is: 2024-04-25 11:57:48
Your offset time is: 2024-04-25 11:57:48