Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How can I use Velocity to send things flying in different directions?

Asked by 8 years ago

I have a room and I want the walls to launch out in their respective directions, no matter what way the room has been rotated.

Currently all I have is this:

wall1.Velocity = Vector3.new(50,0,0)
wall2.Velocity = Vector3.new(50,0,0)
wall3.Velocity = Vector3.new(50,0,0)
wall4.Velocity = Vector3.new(50,0,0)
wall5.Velocity = Vector3.new(50,0,0)
0
You would need to know what way the front of the walls wall face is facing and add the velocity accordingly. Complicated I know :P User#11440 120 — 8y
0
I ended up using lookVector, thanks though. UnforeseenVice 0 — 8y

Answer this question