  | | | Bones player issue and Drawing lines in 3d space | Bones player issue and Drawing lines in 3d space 2003-12-05 - By Dierdre Dixon
Back Howdy all,
I¹m making my first foray into the 3d bits of Director at long last. Working on a game that involves the player cruising around in a club and dancing with other models. Had several issues¹ come up that wouldn¹t mind getting some feedback on.
1. For some reason when applying the bonesplayer modifier to models exported from 3dsMAX, the x and the y axes flip. So the x becomes the front/back axis and the y sideways. (z is up with 3ds max models and that remains as expected.) It seems to be consistent so i¹ve adjusted my code to move them on their new axes, but it¹s a bit mind-boggling and took forever to figure it out. And I couldn¹t find any reference to this anywhere. Any ideas?
2. Is there any (hopefully simple) way to draw lines inside a 3d world? Lots of situations have come up where i just want to see a particular line. For instance, i¹m doing very basic collision detection by casting some rays from the player model and i¹d like to be able to verify that my rays are going where i think they are? Also could also be useful to see where a given axis of a particular model is without having to view all axes and/or bounding boxes via the debugFlags or 3DPI. Any advice would be most appreciated. Thanx! d
<HTML> <HEAD> <TITLE>Bones player issue and Drawing lines in 3d space</TITLE> </HEAD> <BODY> <FONT FACE="Verdana">Howdy all,<BR> <BR> I’m making my first foray into the 3d bits of Director at long last. Working on a game that involves the player cruising around in a club and dancing with other models. Had several ‘issues’ come up that wouldn ’t mind getting some feedback on.<BR> <BR> 1. For some reason when applying the bonesplayer modifier to models exported from 3dsMAX, the x and the y axes flip. So the x becomes the front/back axis and the y sideways. (z is up with 3ds max models and that remains as expected.) It seems to be consistent so i’ve adjusted my code to move them on their new axes, but it’s a bit mind-boggling and took forever to figure it out. And I couldn’t find any reference to this anywhere. Any ideas?<BR> <BR> 2. Is there any (hopefully simple) way to draw lines inside a 3d world? Lots of situations have come up where i just want to see a particular line. For instance, i’m doing very basic collision detection by casting some rays from the player model and i’d like to be able to verify that my rays are going where i think they are? Also could also be useful to see where a given axis of a particular model is without having to view all axes and/or bounding boxes via the debugFlags or 3DPI. <BR> <BR> Any advice would be most appreciated. Thanx!<BR> d</FONT> </BODY> </HTML>
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
|
|
 |