FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

My avatar "floats" above the plane

3 posters

Go down

My avatar "floats" above the plane Empty My avatar "floats" above the plane

Post  eviljack Mon Aug 31, 2009 12:35 pm

as much as I love the SIO2 engine, the 1.4 version is giving me headaches. (more likely my own incompetence with blender).

my current issue involves creating a scene where a car is driving over a terrain (a sculpted, textured plane) and it seems to just float/hover above the terrain just enough to be noticeable. This problem only occurred when I switched to 1.4 and didn't happen in 1.35. Any hints as to what is causing this?

eviljack

Posts : 9
Join date : 2009-06-22

Back to top Go down

My avatar "floats" above the plane Empty Re: My avatar "floats" above the plane

Post  sio2interactive Mon Aug 31, 2009 4:51 pm

You can try to change the collision margin by tweaking it in the user properties of the object and set a different value.

<float> <mr> <value>
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 45
Location : Shanghai

http://sio2interactive.com

Back to top Go down

My avatar "floats" above the plane Empty Re: My avatar "floats" above the plane

Post  eviljack Mon Aug 31, 2009 5:14 pm

do you mean in blender->physics panel->advanced settings ? If so, I tried that, I set the margin of my car and the ground to be .0001 and 0 respectively and still my car is "floating" atop the ground. This is so weird, never was a problem in 1.3.5 Crying or Very sad

eviljack

Posts : 9
Join date : 2009-06-22

Back to top Go down

My avatar "floats" above the plane Empty Re: My avatar "floats" above the plane

Post  sio2interactive Mon Aug 31, 2009 5:20 pm

The margin property from the Physic Panel is NOT accessible from python (unfortunately). So you need to add it as a user property... The same way you add user properties to tutorial16 for the softbody... since they are also not available from python. You can also refer to the fileformat_specification.pdf for more information about the property tags that can be set.

Cheers,
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 45
Location : Shanghai

http://sio2interactive.com

Back to top Go down

My avatar "floats" above the plane Empty Re: My avatar "floats" above the plane

Post  eviljack Mon Aug 31, 2009 5:22 pm

sio2interactive wrote:You can try to change the collision margin by tweaking it in the user properties of the object and set a different value.

<float> <mr> <value>


ok, now I know what you mean. I clicked the "Add Property" and added "mr" with float values .01 to my plane and car...didn't work, then I set them both to 1 and that didn't work either.

any other ideas? scratch

eviljack

Posts : 9
Join date : 2009-06-22

Back to top Go down

My avatar "floats" above the plane Empty Re: My avatar "floats" above the plane

Post  sio2interactive Mon Aug 31, 2009 5:25 pm

What type of bounds you are using for the car... forget about the plane... the plane is not the problem since its a static triangle mesh right?
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 45
Location : Shanghai

http://sio2interactive.com

Back to top Go down

My avatar "floats" above the plane Empty Re: My avatar "floats" above the plane

Post  eviljack Mon Aug 31, 2009 5:27 pm

sio2interactive wrote:What type of bounds you are using for the car... forget about the plane... the plane is not the problem since its a static triangle mesh right?

I have no bounds on my car and yes, I did convert the plane to a static triangle mesh.

eviljack

Posts : 9
Join date : 2009-06-22

Back to top Go down

My avatar "floats" above the plane Empty Re: My avatar "floats" above the plane

Post  sio2interactive Mon Aug 31, 2009 5:29 pm

No bound type, no physic... Im sure you have one Wink what is your car? cube, cylinder, convexhull what?
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 45
Location : Shanghai

http://sio2interactive.com

Back to top Go down

My avatar "floats" above the plane Empty Re: My avatar "floats" above the plane

Post  eviljack Mon Aug 31, 2009 5:42 pm

sio2interactive wrote:No bound type, no physic... Im sure you have one Wink what is your car? cube, cylinder, convexhull what?

[img]My avatar "floats" above the plane Pictur12[/img]

I guess it's a rectangle...

this is what it looks like when running:
My avatar "floats" above the plane Pictur14

eviljack

Posts : 9
Join date : 2009-06-22

Back to top Go down

My avatar "floats" above the plane Empty Re: My avatar "floats" above the plane

Post  sio2interactive Mon Aug 31, 2009 5:48 pm

Ok well you have no bounds set for the car (or use cube by default)... that's why its floating... check tutorial061 and 062 (+video tutorial) for more info on how to set the proper bound type etc...
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 45
Location : Shanghai

http://sio2interactive.com

Back to top Go down

My avatar "floats" above the plane Empty Re: My avatar "floats" above the plane

Post  eviljack Mon Aug 31, 2009 6:00 pm

sio2interactive wrote:Ok well you have no bounds set for the car (or use cube by default)... that's why its floating... check tutorial061 and 062 (+video tutorial) for more info on how to set the proper bound type etc...

Just tried to add a bounds for the car. I tried triangle mesh, convex hull, box and still the same thing. Whats bizarre is that if I use this exact blend file and export it (using the 1.3.5 exporter) and run it on sio2 1.3.5 then it will not float. confused

eviljack

Posts : 9
Join date : 2009-06-22

Back to top Go down

My avatar "floats" above the plane Empty Re: My avatar "floats" above the plane

Post  sio2interactive Mon Aug 31, 2009 6:03 pm

The behavior of this panel have changed since 1.3.5, check tutorial061 & 2 to check how to set the right properties.
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 45
Location : Shanghai

http://sio2interactive.com

Back to top Go down

My avatar "floats" above the plane Empty Re: My avatar "floats" above the plane

Post  eviljack Mon Aug 31, 2009 6:09 pm

well, this might be the cause of it, but I just don't know how to fix it.


My avatar "floats" above the plane Pictur10

My avatar "floats" above the plane Pictur15

eviljack

Posts : 9
Join date : 2009-06-22

Back to top Go down

My avatar "floats" above the plane Empty Re: My avatar "floats" above the plane

Post  IanLinart Thu Sep 03, 2009 7:44 am

eviljack wrote:well, this might be the cause of it, but I just don't know how to fix it.


My avatar "floats" above the plane Pictur10

My avatar "floats" above the plane Pictur15

what are we suposed to see from those screeshot?

I add the same problem with my character he was just a little above the object he was standing on.. so I changed the bound type for both of them where the ground is set to triangle mesh and my character to box.. (box should be fine for your car, and triangle mesh for your ground too) and everything is beautifull now
IanLinart
IanLinart

Posts : 26
Join date : 2009-08-12
Age : 36
Location : Montréal

http://iapps.linart.qc.ca

Back to top Go down

My avatar "floats" above the plane Empty Re: My avatar "floats" above the plane

Post  eviljack Thu Sep 03, 2009 5:35 pm

I think it's because I can doing a "center new" on the plane which is actually now a mountain range and the center is a few feet off the ground so the car think's its on the ground when it's not.

eviljack

Posts : 9
Join date : 2009-06-22

Back to top Go down

My avatar "floats" above the plane Empty Re: My avatar "floats" above the plane

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum