So I want a part to move and when it collides or hits another object I want it to move the opposite direction, kinda like pong. The problem is I want the the part to be uncollidable because I want the part to do damage to the player without pushing them around. I know how to do the damage script, though.

3 comments

0

Multiply velocity by -1

0

http://devforum.roblox.com/t/how-to-think-about-vectors/11866 take a look at this. It's an extremely in-depth tutorial on the use of vectors.