Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Jonde on September 30, 2014, 08:56:12 AM

Title: Character Controller collision detection & ignoring ground
Post by: Jonde on September 30, 2014, 08:56:12 AM
Hi guys,

I have a character moving in a level and I want to see when it hits a wall, check the normal point on the wall, calculate reflection for the movement vector and reflect the character according the plane on the wall. I'm having problems checking the normal of the plane though. I can't seem to get the value of the normal point on the wall, but it just keeps giving me normal point on the floor which the character is moving on.

Is there a nifty way to ignore the floor somehow for the character controller? I would guess that I can check the values for the normal from the floor and compare them to a value from a wall, but it seems that I can't get that value out every frame...

thanks,
Jonde