WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Tracking when foot bone makes contact with x plane (https://forum.worldviz.com/showthread.php?t=4881)

NicoleVR 11-19-2013 04:58 AM

Tracking when foot bone makes contact with x plane
 
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. 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!


All times are GMT -7. The time now is 10:26 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC