![]() |
|
#1
|
|||
|
|||
Physics
Hey Guys,
I am having some serious trouble with physics application in my virtual world. Things are just not running as smoothly as I'd like/NEED them to be, largely due to my complex geometry. The physics shapes do not fit my geometry and I get intersections that I just cannot have, the larger my models get the more taxing it is to attempt accurately modelling physics. It is getting to the point where I think Vizard just is not going to work for me at all, but I don't want to rule it out just yet. Does anyone have any advice or tips of improving physics? Is it possible to use open source software to develop the physics and then bring it in to vizard? |
#2
|
|||
|
|||
If you don't need dynamic forces to be applied to some objects then you could try using collideMesh on those for more accurate intersections.
|
#3
|
|||
|
|||
Lower the stepsize. Also, a note on importing physics.
Note that you can also tweak a few parameters of the physics engine. For example, you can reduce the stepSize of the physics engine to simulate in temporal steps that are smaller than the refresh rate.
See the last section here, "Tweaking." http://docs.worldviz.com/vizard/Viza...ics_basics.htm Under the hood, Vizard is running the "ODE" physics engine. If you wanted to, you could import your own physics engine, but it's a bit of work. I've done it. If you don't need something that is close to an idealized physical model, ODE should be sufficient. Note that ODE's calculation of bounce dynamics can be more accurate than Vizard allows, but there are a few parameters of ODE that Vizard doesn't give you access to. This is a separate issue than collision detection. |
#4
|
|||
|
|||
Quote:
this sounds really interesting to me. I am trying to implement an interception task in Vizard and would like to have an idealized physical model without air resistance or Magnus effect forces. Do you think this can be done using the ODE provided by Vizard or would I need to import a different engine? Best, DS |
#5
|
|||
|
|||
Interception? Of a thrown / launched ball, or something moving along the ground plane? and, I've very sorry not to have responded sooner. I only just saw this.
Last edited by performlabrit; 06-07-2016 at 11:16 AM. |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to fixing unpredictable physics with manual intervention? | performlabrit | Vizard | 0 | 02-18-2014 06:03 AM |
Vsync prevents using fresh motion capture data in physics simulations? | performlabrit | Vizard | 2 | 11-05-2013 10:48 AM |
Physics engine update rate and display rate | zharuViz | Vizard | 12 | 10-28-2013 06:52 AM |
Physics: Ball Bounces Unexpectly Based Upon Size + Ring Collision Shape | mhead10 | Vizard | 3 | 11-02-2012 01:44 PM |
physics engine exception | ad_astra | Vizard | 3 | 03-25-2009 11:31 AM |