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.
COMMUNITY QUESTION
How to make it so that when a part hits a wall it moves the opposite direction?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
Multiply velocity by -1
http://wiki.roblox.com/index.php?title=Dot_product
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.