#NATURAL DISASTER PHYSICS

1 messages · Page 1 of 1 (latest)

late olive
#

I am trying to make a meteor game and me and my team want the meteors to fall down/ rain from the sky but i have a few meteors and i am planning to make a few more. but as the title says i would like it to be a meteor shower

topaz palm
#

every interval that you choose, pick a random meteor from your meteor folder. Then using RunService, update their position along their direction, and raycast to see when it has hit the ground or an object. Then do cleanup operations like removing it from the runservice loop and carrying out after effects like explosions, if any.

torpid thistle
#

touched = explosion instance created

#

use ai if you have no idea

late olive
#

chatgpt didnt help much

torpid thistle
late olive
#

Lol

torpid thistle
#

¯_(ツ)_/¯

copper falconBOT
#

studio** You are now Level 1! **studio

late olive
#

im cooked!

torpid thistle
#

ask it right or script it yourself

late olive
#

Ye its js alot and i dont know how to script very well but ty for the tips

spare rapids
#

now you get the direction
(targetPos - originPos).Unit

#

after that you can do something like

meteorCFrame *= CFrame.new(direction * speed)

#

i forgot to mention that you should raycast for the 2nd point

#

smth like workspace:Raycast(origin, direction * 1000)