WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Turn off collision of mainview partially (https://forum.worldviz.com/showthread.php?t=5048)

Marco 05-28-2014 02:09 PM

Turn off collision of mainview partially
 
Hi everyone,

what I'm trying to achieve is to get rid of the MainView percepting physical effects (partially), while having collision detected... IN MORE DETAILS:

In my scenery the user should be flying around inside a giant ball in free flow. So any gravity affecting the Mainview should be turned off. The user shouldn't be able to leave the environment, so this giant ball needs collision, right? Maybe by linking something collidable to the Mainview to avoid gravity!?

LET'S GO ON:
Inside of the ball there'll be about 26 smaller balls rotating/flying around the user.

There's one specific ball the user will have to collide with - without being affected by physical effects - but, of course I need the collision to be detected to go on with some things. Let's say he won the game.

THE SAME THE OTHER WAY AROUND:
Would the user hit one of the 'wrong' balls - not being affected by physics - the game would be lost.

So... I'm sneaking around here for days now, reading posts and trying out things... disabeling PHYSICS or DYNAMICS or COLLISION on nodes...

Can anyone provide me with a hint or some raw lines of code, how this could be done? I just can't find a solution for that.

Thanks in advance
M*

Jeff 05-29-2014 04:57 AM

Do you want the objects to move when the viewpoint collides with them? If not, it sounds like you just need to enable viewpoint collision and not physics. You can turn off gravity on the viewpoint:
http://docs.worldviz.com/vizard/#Vie...nd_gravity.htm

Marco 05-30-2014 04:02 AM

Hi Jeff, thanks a lot. That's what I needed. :)


All times are GMT -7. The time now is 01:34 PM.

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