PDA

View Full Version : Tracking when foot bone makes contact with x plane


NicoleVR
11-19-2013, 04:58 AM
Hello, I am trying to figure out how to track the steps of an avatar and get notified each time the foot bone makes contact with the floor ( or x plane). I need notification of the initial contact with every step. I have been looking at proximity sensors, but I could not make it work. I have tried to get the bone position but that was not working for me either.

I am fairly new with Vizard, so any help or ideas would be greatly appreciated.

Thank you

Frank Verberne
11-20-2013, 12:32 AM
Hi NicoleVR,

Have a look at this knowledge base (http://kb.worldviz.com/articles/350). You could create a collidebox for each foot of your avatar, and a collidebox for your plane. By tweaking the example, you should be able to detect when (and where) your avatar's feet are touching the floor. For accurate collision detection, you should make the shape of the foot collidebox closely match the shape of your avatar's foot. Good luck!

NicoleVR
11-20-2013, 09:13 AM
I'll take a look. Thank you for the suggestion!