NXU::NxuPhysicsCollection* CarXML=NXU::loadCollection("car.xml",NXU::FT_XML,NULL,NULL);
bool t=NXU::instantiateCollection(CarXML,g_pScene->getPhysicsSDK(),g_pScene,NULL,NULL);
NXU::instantiateCollection+PhysX+Y Axis
i'v added NxuStream 2 support to my project
for test i exported car from max with PhysX exporter as xml
loaded into physics like this
all loaded without problems, but...
exported animation has Z axis, and my entire render and all previous physx objects Y
so how can i convert Z axis to Y[in real time][or via in max or nx settings]?
my scene looks like that :D
all my objects are y axis, and loaded physx scene from max is Z axis
i was thinking of just making defaultSceneOffset matrix that were sent in this function, so it rotate everything to 90 degrees, but that would be kinda stupid, is there any better solution
[Edited by - e3d_ALiVE on April 14, 2010 7:29:33 AM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement