WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   create group of objects (https://forum.worldviz.com/showthread.php?t=4186)

Veronika 03-30-2012 09:00 AM

create group of objects
 
hello,

how I can create one group of objects?
Because I want to set collision, but for each object separately - it will be very time-consuming.

thanks :)

Veronika

Jeff 03-30-2012 09:12 AM

Each object will need it's own collision shape. Are all these objects you want to group together the same type of object? Can you describe your application?

Veronika 03-31-2012 11:13 AM

Quote:


viz.phys.enable()

ground.collidePlane()

.collideBox()
.disable(viz.DYNAMICS)

avatar.collideBox()
avatar.disable(viz.STATICS)
avatar.enable(viz.COLLIDE_NOTIFY)
I have approximately 30 objects - each object is '*.wrl'. And I need to set collision between avatar and objects and therefore I need to create group of objects.

Jeff 04-02-2012 08:32 AM

You'll need to add a separate collision shape for each object.

Veronika 04-02-2012 11:45 PM

ouuu, yes?
you didn't give me a good information :(
but thanks :)


All times are GMT -7. The time now is 12:30 AM.

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