[Solved] StuntPlayground school

Dirso

28-05-2007 14:12:52

Hi,

@walaber: Your code shows every physics feature that I need for my game!!! Thank you very much!!!!

Why do you use hardbodies? What software did you use for that?

Thanks,
Dirso

walaber

28-05-2007 20:05:09

I'm not sure I understand your question.

The physics were done with Newton Game Dynamics, and I have made a wrapper for it called OgreNewt. this is the forum for it...

what is your question?

Dirso

28-05-2007 21:14:12

I'm not sure I understand your question.

The physics were done with Newton Game Dynamics, and I have made a wrapper for it called OgreNewt. this is the forum for it...

what is your question?

You load your objects from .rb files. Why do you use them? In the samples you use standart nodes, may I still use them or the .rb files are better?

Thanks,
Dirso.

walaber

29-05-2007 07:38:26

all of the 3D models in Stunt Playground are just standard Ogre .mesh files. the .rb ("rigid body") format is a file format I created myself to represent an object that has a 3D mesh, and also physical properties. the .rb format is just an XML format that I came up with to contain everything I need to represent a single physics entity in the world. it stores info like what 3D model to use, and the physics collision shapes and properties for that object.

Feel free to use the format if you want. I made (and released) a very primitive editor for creating .rb files, which you can use if you want. You can steal the code from Stunt Playground to load .rb files as well... I've used it myself for other projects as well.

.rb files were just a way to simplify creating physics objects for Stunt Playground.

you can get the editor here:http://walaber.com/misc/RigidBodyDesigner.rar