Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
Box2d "On landed" event — Gideros Forum

Box2d "On landed" event

rrraptorrrraptor Member
edited September 2016 in General questions
Hello!
From my previous discussion, i have draggable walls and player, which is responding to these walls. But player's box2d parameter "fixedRotation" is set to "true" now, and restitution is 0.45.
Now i need to detect if player landed on wall then do something and it bounce off the wall (because of restitution param). Simple image attached.
How can i do this? Maybe raycast will help, but dont know how to apply it...
P.S. Sory for my eng. :\">

Comments

Sign In or Register to comment.