Search found 29 matches

by charles88
Thu Oct 22, 2009 1:34 am
Forum: Beginners Help
Topic: World space to local space
Replies: 4
Views: 440

oh... sorry, basically I want to get back the vertices of the .x file and write it back to a new .x file after changing the vertices.

Thx. :)
by charles88
Wed Oct 21, 2009 3:24 pm
Forum: Beginners Help
Topic: World space to local space
Replies: 4
Views: 440

Thanks for your reply. So first I should get the joints' transformation, then get the vertices around the joints and transform it back to local space?

I will try to do as you said, and post my solution if I found one. :)
by charles88
Tue Oct 20, 2009 9:22 am
Forum: Beginners Help
Topic: World space to local space
Replies: 4
Views: 440

World space to local space

Hi, could anyone help me with .x model(dwarf.x)? basically, I want to get back the local matrix of the .x model after I load it into the engine. But I failed after many attempts. Can someone help me please?

Thank you.
by charles88
Mon Dec 01, 2008 8:18 am
Forum: Beginners Help
Topic: PhysX rotation question
Replies: 15
Views: 1531

Hi JP, I have already solved it. :D the problem was in my main loop I forgot to update every of my nodes until I look at your mesh example, this line: for (u32 i = 0 ; i < objects.size() ; i++) objects[i]->updateTransformation(); Thx alot. :) at the mean time, I am working on the ragdoll. Will post ...
by charles88
Mon Dec 01, 2008 3:00 am
Forum: Beginners Help
Topic: PhysX rotation question
Replies: 15
Views: 1531

Hi JP, before I look into ragdoll. I have created a convex class, but what I have here is that my convex mesh is also always static. :( Here is the code: NxConvexMesh *getIrrPhysxConvexMesh(NxPhysicsSDK *gPhysicsSDK, IMesh *irrMesh,const vector3df &pos, const vector3df &scale) { s32 meshBuff...
by charles88
Fri Nov 28, 2008 7:54 am
Forum: Beginners Help
Topic: PhysX rotation question
Replies: 15
Views: 1531

Thx again JP, I am working on it now. :) will post if I encounter any problem.
by charles88
Thu Nov 27, 2008 2:01 pm
Forum: Beginners Help
Topic: PhysX rotation question
Replies: 15
Views: 1531

Thx JP for your reply, yeah it's a model that I load from a .x file. I put the model's verticies and indices into a triangle mesh but then it became static, even though I set property for body to be dynamic. So I should build up various shapes just to cover up my entire model? Is there any easy way ...
by charles88
Thu Nov 27, 2008 7:18 am
Forum: Beginners Help
Topic: PhysX rotation question
Replies: 15
Views: 1531

Thx JP. Yeah, I have browsed through your wrapper, and I saw the function: createTriangleMeshObject (IPhysxMesh * mesh, const core::vector3df & position, const core::vector3df & rotation = core::vector3df(0, 0, 0) ) ) You said it creates a static object, so how can I create a dynamic object?...
by charles88
Wed Nov 26, 2008 8:43 am
Forum: Beginners Help
Topic: PhysX rotation question
Replies: 15
Views: 1531

Wow! thank you very much seven and JP. :)
by charles88
Sun Nov 23, 2008 2:03 pm
Forum: Beginners Help
Topic: 1 simple question about camera position
Replies: 10
Views: 493

@JP: Yeah, that's a typo :oops: I'm using the default compiler.

@rogerborg: thanks rogerborg, but still didn't work for me. :( I think nvm, in that case I just attach my camera to my node. sigh...
by charles88
Fri Nov 21, 2008 9:22 am
Forum: Beginners Help
Topic: 1 simple question about camera position
Replies: 10
Views: 493

@JP: Yeah, the camera doesn't move (which suppose to move), but the target is on the node (which is correct). And I want to update the camera position without parenting it to the node. Is there any way for that? I've put cam->setPosition(node->getPosition+vector3df(0,20,-50)); cam->setTarget(node->g...
by charles88
Thu Nov 20, 2008 8:15 am
Forum: Beginners Help
Topic: 1 simple question about camera position
Replies: 10
Views: 493

1 simple question about camera position

Hi, can someone please tell me whether the setPosition() is working with camera? because currently I try to set the camera position and move it with my node, but only the setTarget is working. :( cam->setPosition(node->getPosition+vector3df(0,20,-50)); cam->setTarget(node->getAbsolutePosition()); Th...
by charles88
Fri Nov 14, 2008 2:08 am
Forum: Bug reports
Topic: Will boundary box change?
Replies: 20
Views: 2071

Oh, I see, so there is problem with the engine then. :( anyway, thx very much for the help and info Acki. :P
by charles88
Thu Nov 13, 2008 5:17 am
Forum: Advanced Help
Topic: Bounding box in animated scene nodes
Replies: 18
Views: 2510

Could someone tell me whether this issue has been fixed? I am currently having problem with .x file too, :( the bounding box is below my animated node. :(

Thanks.
by charles88
Thu Nov 13, 2008 2:40 am
Forum: Bug reports
Topic: Will boundary box change?
Replies: 20
Views: 2071

Thanks Acki, I used that before but just want to confirm. :D so it does not change.