Bajter
18-08-2008 07:37:38
Hello, Betajaen, and other people that read this
While working with NxOgre I've encountered a problem, I hope, that you'll help me solving it.
So, to the point.
I've got an actor, which is floor, actually, but I want it to stay dynamic, then, I have another actor, which is object, moving on the floor (let's say it works like horizontal lift - moving from left to right and vice versa, supposed to work only on given track)
So - atm I move the 'lift' using addLocalForce, and it shall work like this, but - I don't want the lift to 'leave' the 'floor' when it reaches the wall, and moves the 'floor' - and I still want it to move the 'floor' so it's nothing about changing the mass of the 'floor' (let's say ends of the way should be in walls, so the 'lift' can still push them)
While reading PhysX documentation The Idea made it's appearance, and it said - "let's use joints! Maybe they can help, but..."
This post is all about this 'but' - I don't know how to make joints work here, I'm not even sure if joints are 'the thing' to use in this problem.
To evade possible mistakes - I must say, that attaching the 'elevator' to 'floor' node is not giving any positive results (shape wasn't moving together with model, there was a huge difference), I'm speaking about ogre nodes.
I'll feel better when someone says this is not too chaotic to understand ^^
I will appreciate any help,
Wishing everyone good day, and good night (good luck if needed!)
B.
While working with NxOgre I've encountered a problem, I hope, that you'll help me solving it.
So, to the point.
I've got an actor, which is floor, actually, but I want it to stay dynamic, then, I have another actor, which is object, moving on the floor (let's say it works like horizontal lift - moving from left to right and vice versa, supposed to work only on given track)
So - atm I move the 'lift' using addLocalForce, and it shall work like this, but - I don't want the lift to 'leave' the 'floor' when it reaches the wall, and moves the 'floor' - and I still want it to move the 'floor' so it's nothing about changing the mass of the 'floor' (let's say ends of the way should be in walls, so the 'lift' can still push them)
While reading PhysX documentation The Idea made it's appearance, and it said - "let's use joints! Maybe they can help, but..."
This post is all about this 'but' - I don't know how to make joints work here, I'm not even sure if joints are 'the thing' to use in this problem.
To evade possible mistakes - I must say, that attaching the 'elevator' to 'floor' node is not giving any positive results (shape wasn't moving together with model, there was a huge difference), I'm speaking about ogre nodes.
I'll feel better when someone says this is not too chaotic to understand ^^
I will appreciate any help,
Wishing everyone good day, and good night (good luck if needed!)
B.