vutle / gamekit

Automatically exported from code.google.com/p/gamekit
0 stars 0 forks source link

Blender loader works differently for 2.4x and 2.5x for static meshes #108

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open Samples/Runtime/Regression/clubsilo_packed.blend in Blender 2.5x
2. Save it (overwriting the previous file)
3. Launch the VehicleDemo

What is the expected output? What do you see instead?
The demo starts but the cars goes trough the ground.

Please use labels and text to provide additional information.
You can use the R key in the vehicle demo to serialize the current 
DynamicsWorld to a .bullet file in the current working dir.

Original issue reported on code.google.com by xavier.thomas.1980@gmail.com on 29 Sep 2010 at 8:54

GoogleCodeExporter commented 9 years ago
It seems this issue is due to a bug in Blender where most of the objects get 
saved with "defaults physics settings" (nocolision, radius=1, border=0).

I worked around this bug by:
-Open the file in Blender 2.5
-Have a Physics properties panels visible
-Select all objects that cause problem (one after another, do not select 
multiple objects)
-Save the file
-This time the file get saved OK and load properly in Gamekit.

Weird isn't it?

Original comment by xavier.thomas.1980@gmail.com on 30 Sep 2010 at 5:21

GoogleCodeExporter commented 9 years ago
This was due to some problem in Blender files conversion for old version 
(doversion() in Blender readfile.c).

Original comment by xavier.thomas.1980@gmail.com on 29 Nov 2010 at 7:44