Go Back   Knife Edge > RealFlight - Discontinued Products > RealFlight G4
Use of this site is subject to our Terms of Use. | Looking for technical support? Read this!

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 12-07-2007, 04:45 PM
0xdeadbeef 0xdeadbeef is offline
Registered User
 
Join Date: Aug 2006
Posts: 631
Rigid physics bug

When crashing, G4 sometimes performs some pretty wild physics calculations. I found this especially easy to reproduce with the Wildcatfish. I appended a recording at Alpine Lake with this nice plane by Dhk79&Cowboy.

Note that this isn't even the worst thing I've seen yet. I had situations were the fuselage would spin around itself in midair for a minute or so. Not only are the collision forces obviously way off, this also seems to defy gravity.

For the fun of it, I also made a video of the recording (15MB):
http://rapidshare.com/files/75001093...s_Bug.avi.html
Attached Files
File Type: recording 0xdeadbeef_Wildcatfish_2.recording (1.91 MB, 4 views)
Reply With Quote
  #2  
Old 12-07-2007, 04:58 PM
jbourke's Avatar
jbourke jbourke is offline
Knife Edge Software Owner
 
Join Date: Aug 2003
Location: Corvallis, OR, USA
Posts: 712
Do you see this problem with stock aircraft or custom aircraft or both?

This seems to happen a lot with custom aircraft because the designers don't close the collision mesh correctly. I'm not sure if that is the case here. I'm just speculating.

Jim
Reply With Quote
  #3  
Old 12-07-2007, 05:03 PM
pplace's Avatar
pplace pplace is offline
Registered User
 
Join Date: Oct 2006
Location: Minnesota
Posts: 1,595
Quote:
don't close the collision mesh correctly
Just wondering what you mean by "close"
Reply With Quote
  #4  
Old 12-07-2007, 05:08 PM
0xdeadbeef 0xdeadbeef is offline
Registered User
 
Join Date: Aug 2006
Posts: 631
This happens with stock planes as well, but less spectacular and less reproducible.
Anyway, after only a few trials, I got a quite nice one with a "Big Stik Float Plane" on Alpine Lake. See attachment.
Attached Files
File Type: recording 0xdeadbeef_Big Stik Float Plane_2.recording (1,004.0 KB, 7 views)
Reply With Quote
  #5  
Old 12-07-2007, 06:04 PM
nemo_uk's Avatar
nemo_uk nemo_uk is offline
Registered User
 
Join Date: Feb 2005
Location: uk
Posts: 946
Quote:
Just wondering what you mean by "close"
An easy way to check if there are any problems if you are using 3ds max is to apply the STL check modifier to the piece of geometry (collision object) you are checking.
Attached Images
File Type: jpg stl.jpg (103.4 KB, 18 views)
__________________
www.tonyelms.com

Last edited by nemo_uk; 12-07-2007 at 06:07 PM.
Reply With Quote
  #6  
Old 12-07-2007, 06:09 PM
pplace's Avatar
pplace pplace is offline
Registered User
 
Join Date: Oct 2006
Location: Minnesota
Posts: 1,595
thanks nemo,

I didn't know if it was more of a "technical" term he was describing. Turns out it wasn't.

I was actually thinking along the lines of not adding collision meshes to every part of the aircraft (as they suggest in the tutorials) I have never done this....For example I would add collision meshes to the wheels, but not necessary the landing gear always. (As it is nearly impossible to bump, or hit the landing gear without hitting the wheel first)

So I wanted to make sure "closing" didn't mean in a round about way.....leaving objects un collision meshed.

Thanks
Reply With Quote
  #7  
Old 12-09-2007, 04:13 AM
ladams ladams is offline
Registered User
 
Join Date: Mar 2007
Posts: 5
Actually I've seen this all over the place, and not just with the airplanes.

The physics dose not clamp properly and TINY variations in interactions between dynamic parts can cause things to go flying wildly. For exmaple a wing piece settling on the ground after a crash will suddenly FLY back up in to the air because of some tiny bump in the ground or something.

Another example, try placing some of those "message in a bottle" objects on top of a wall or another piece of wood in the editor. Or try laying a piece of wood diagonally against a low wall. They just will NOT stay. They start bouncing and jiggling and eventually fall over sometimes hitting the ground and then spinning on axis for a minute or two.

Though RealFlight is not the only program with this problem. Almost all physics engines have this problem, though I have to admit that in real flight it's not the best I've seen...
Reply With Quote
  #8  
Old 12-09-2007, 12:25 PM
0xdeadbeef 0xdeadbeef is offline
Registered User
 
Join Date: Aug 2006
Posts: 631
It's a common problem of physics engines that objects don't find a stable rest position. E.g. in Crysis I just had the problem that somehow a gun was stuck in the wall and kept jiggling around.

Then again, the rigid bodies engine in G4 shows two behaviors that other engines don't show: firstly the kinetic energy seems to increase suddenly which catapults parts in the sky or to the horizon after only subtle rebounds. Secondly, parts are rotating in midair "forever" which obviously means that either gravitational force doesn't really have effect on them or they create lift somehow. Both is weird to say the least.

Last edited by 0xdeadbeef; 12-09-2007 at 12:28 PM.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:19 AM.