Objects in a B3D
Blitz3D Forums/Blitz3D Programming/Objects in a B3D
| ||
Hi All, Someone knows if there exist some way to know how to access to the different coordinates of objects in a b3d model?? I have a ship and it has different "dummies" marking particles positions, zones of firing and more.. but I don't know to access to the coordinates of those objects-dummies. I have exported the B3D using the pipeline exporter.. After this, I have tried with countchildrens and findchild, but it doesn't work.. Please help!! Thanks in advance! |
| ||
Can you post the model and some code? FindChild is the way to do it, so if that isn't working for you then you probably aren't doing it right. For starters, make sure to use LoadAnimMesh and not LoadMesh to preserve the object heirarchy. |
| ||
Thanks for your comment jhocking, It is not an animated model, it is a static ship with ten canons to the left and right side... We have situated in MAX dummies in points that I would like to use to put particles for the water or for the canon's fire... The issue is that I don't know if the best way to access to this dummies is using "Findchild" or similar. Imaging that you have an scene with two cubes: The first one is called "cube1" and the second one is called "cube2" the question is: How I could access under blitz to the coordinates of "cube2"??? :) Thanks in advance!! |
| ||
Even though it is not an animated model you need to load it with LoadAnimMesh otherwise you will not be able to access the child heirarchy of the mesh. |
| ||
It runs!!!!!!!! :))))))) I love you both!!!!! Thanks a lot!!!! ;) |