Any expert can answer it

tomneo2000

20-09-2009 05:15:35

1. Can BloodyMess do the collision between BloodyMess's body and entity that attached to Ogre's "SceneNode" (e.g. terrain scene manager)(I mean if BloodyMess use method createbody() to create a entity, can it do the collision with entity which has been attached to Ogre "SceneNode")
If yes, can it return the entity's name or specific triangle when collision occur?

2. If i want to have a terrain. Which one should i use to create terrain NxOgre or Ogre's scene manager?

3. I have read through BloodyMess's tutorial but tutorial are not many, in addition, it doesn't teach raycast which i really need it. Where can i find a complete tutorial about BloodyMess ?

4. Does BloodyMess have API reference? Where to find?

5. If i use BloodyMess's scene manager to create all bodies in my game, is it able to disable the physics for some bodies?

betajaen

20-09-2009 10:55:54

1. can BloodyMess do the collision between BloodyMess's body and entity that attached to Ogre Scene manager (e.g. terrain scene manager)(i mean if BloodyMess use method createbody() to create a entity, can it do the collision with entity that attached to Ogre Scene manager)
if so, can it return the entity's name or specific triangle?


BloodyMess has no concept of Ogre, has no idea what it is. The OGRE3DRendersystem which links the two together - does, and all that does is gets the results from NxOgre and makes Ogre show them.

So unless you create the physics equilvent of your Ogre entities in NxOgre, it'll pass straight through them.

2. if i want to have a terrain do i need to use BloodyMess to create it or Ogre's terrain scene manager?

You need to do both. Ogre to render it, and NxOgre to apply the physics to it.

This article may help you; http://www.ogre3d.org/wiki/index.php/Bl ... eightfield and if your unsure how to do terrain in Ogre - there are plenty of articles on the Wiki.


3. i have look through BloodyMess tutorial but tutorial are not many, like it doesn't teach raycast but i really need it, so where can i find a complete tutorial about BloodyMess ?

Last time I checked Spacegaier was working on a raycasting tutorial - it seems he hasn't finished it yet. However, it isn't difficult to do raycasting, all the functions are in Scene; mScene->raycastAllBounds, mScene->raycastAllShapes, ...

4. Does BloodyMess have API reference, where to find?

No. But you can run the source it through Doyxgen, to create one for you.

5. if i use BloodyMess's scene manager to create all object in my game is it able to disable the physics for some object

"BloodyMess" has no scene manager, it has a Scene.

Yes. You can disable specific Actors/Bodies by setting them to sleep, deleting/re-creating them, or changing the collision flags.

tomneo2000

21-09-2009 01:57:13



BloodyMess has no concept of Ogre, has no idea what it is. The OGRE3DRendersystem which links the two together - does, and all that does is gets the results from NxOgre and makes Ogre show them.

So unless you create the physics equilvent of your Ogre entities in NxOgre, it'll pass straight through them.



I am a bit confuse. Can you make example?

Can it return the object states? like object A bump into object B. When i query object A's states it will return bool value that indicate whether object A's collision is occur or not.
If object A hit object B can it return object B's name or other properties.

e.g

if(object A is collided==true)
{
array=get_hit_object_list()//might return multiple or single object
array[index].getname()//get specific object's name that hit by object A
}