Th3Ya0vi / vdrift-ogre

Automatically exported from code.google.com/p/vdrift-ogre
0 stars 0 forks source link

Collision with trees,rocks #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Already started implementing. Search for "///  add to bullet world" in 
ogre/common/SceneTrees.cpp
I'm not sure if this really has to impact performance so much (dropped from 84 
Fps to 72 in jungle - all the time without any collision, those are static 
objects after all).
I think one capsule for a tree may be enough. Two spheres for rock or so.
Some xml file in data/trees will be added with shape type, dimension and pos 
offset for each .mesh file.
An option should be in GUI to disable enable this feature (more fun and Fps 
without this).

Original issue reported on code.google.com by Cry...@gmail.com on 21 Mar 2011 at 7:23

GoogleCodeExporter commented 8 years ago

Original comment by scrawl...@gmail.com on 21 Mar 2011 at 8:19

GoogleCodeExporter commented 8 years ago

Original comment by Cry...@gmail.com on 29 Mar 2011 at 8:44

GoogleCodeExporter commented 8 years ago
Working but, now rocks have one sphere and
all is in code, need to put the shapes into a xml file.

Original comment by Cry...@gmail.com on 30 Mar 2011 at 7:12

GoogleCodeExporter commented 8 years ago
Road columns are still a to do.

Original comment by Cry...@gmail.com on 30 Mar 2011 at 7:18

GoogleCodeExporter commented 8 years ago

Original comment by Cry...@gmail.com on 7 Apr 2011 at 5:40

GoogleCodeExporter commented 8 years ago
Done. This xml:
data/trees/collisions.xml
has now simple shapes for each vegetation
.mesh
Fixed also rocks (now 2 spheres).

only road columns left

Original comment by Cry...@gmail.com on 9 Apr 2011 at 11:06

GoogleCodeExporter commented 8 years ago

Original comment by Cry...@gmail.com on 9 Apr 2011 at 12:26