hierarchical models / physic shapes problem in Viz4
Hi, I would like to build a hierarchical model with some 3d model files. This construct should be part of the physic engine. Each node should have his own collide shape.
Code:
import viz Has anyone an idea or a solution? |
For nodes to react correctly in the physics simulation they should be children of the world. This is the case for both Vizard 3 and Vizard 4 and you'll see a strange result if you enable viz.PHYSICS for the subNodes. If you remove the subNodes' collide shapes they will fall with the mainNode just as they do with the current script when run in Vizard 3.
|
Thanks for your answer; I only wonder why in Vizard3 the hierarchical model still works. In my original script I only enable viz.COLLIDE_NOTIFY but I don’t know if it works correctly. I will use joints for my script; I think that’s a better solution for this problem.
|
All times are GMT -7. The time now is 01:19 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC