What is "x-normal of collision" and "y-normal of collision"

EatMoreHippo

  • Posts: 62
Just what do these mean in layman's terms?

Jesse

  • Posts: 102
I think this old quote from Jon explains it well:

Quote
Normals are the same as they are in math/physics. Best if I just show a picture from the box2d manual:



90 degree angle to the surface, sticking out.
I think we use it in BB to reverse direction.

Epic428

  • Posts: 1118
Do you understand what these are now?
James Moore - Official Support & Documentation.
We cannot and will not respond to PM's asking questions. Please make a new thread in the forums if you have any questions, Thank you.
For better support and faster response times, please post your logs regarding any Stencyl related issues. Debug > Logs > Generate Logs

Losian

  • Posts: 14
This is a bit of a necro on this thread, but some expansion upon the nature of the X/Y normal would be great. I notice it being used a lot in the shipped-with behaviors and, as such, it seems like it must be a pretty useful tool to be able to call on! I've used X/Y collision comparison in the Brick game in Challenge Chapter 3 to adjust how the ball bounces based on where it hits the paddle, but even so.. there's surely situations which would put preference on the normal use rather than the flat x/y coords.