tcastudios
04-22-2003, 11:09 PM
I have slowly started to get into xpresso and got a few things working as I´d want. It very much reminds me of the eqvivalent in Logic (Audioprog) called "Environment". I did spend many hours making surround mixers and such there.
Now here comes a challenge I cannot figure out. The tools and nodes seems to be there but I´m not yet familiar with all of them, yet.
I´d like to get a ball (sphere) rolling in any direction in the ZX plane. Involving hight (Y) would be to complicated to start with, I think. At first it didn´t seem to complicated, but it was.
The goal is to make it roll (by moving a "leader object") in any direction as a real ball would. By that I mean it should -not- behave as a wheel. A wheel TURNS around the global Y-axis (H) for direction and SPINS around its local X (or Z) axis for speed.
The third axis (X or Z) doesn´t "do" anything, it just moves along sort of.
The behaviour can easely be created by letting the wheel follow a spline and rotate as a function of how far it has come on the spline. (Position to Rotate)
Now this is not the behaviour of a ball. None of its axis (except at the start 0.0.0 position) does constantly point at one direction. Also, a ball does not TURN, it changes direction and rotation as it moves, heading for different goals.
I have tried (and so far ,failed) making a "LeaderObject" (The Null that would be animated) that is controlling a nother Null ("Cage"). The Leader controll the position and direction (where the Z-axis is pointing) of the Cage. My idea was to have the ball rolling inside the Cage and somehow rotate in the direction the Cage was heading. And here I lost it....
Any takers?
Why all this then? you might ask. Well it would be very easy to animate many ballsports more realistically.
Imagine how the numbers on the balls in a poolgame look when they bounce around.
Regards
Lennart
Now here comes a challenge I cannot figure out. The tools and nodes seems to be there but I´m not yet familiar with all of them, yet.
I´d like to get a ball (sphere) rolling in any direction in the ZX plane. Involving hight (Y) would be to complicated to start with, I think. At first it didn´t seem to complicated, but it was.
The goal is to make it roll (by moving a "leader object") in any direction as a real ball would. By that I mean it should -not- behave as a wheel. A wheel TURNS around the global Y-axis (H) for direction and SPINS around its local X (or Z) axis for speed.
The third axis (X or Z) doesn´t "do" anything, it just moves along sort of.
The behaviour can easely be created by letting the wheel follow a spline and rotate as a function of how far it has come on the spline. (Position to Rotate)
Now this is not the behaviour of a ball. None of its axis (except at the start 0.0.0 position) does constantly point at one direction. Also, a ball does not TURN, it changes direction and rotation as it moves, heading for different goals.
I have tried (and so far ,failed) making a "LeaderObject" (The Null that would be animated) that is controlling a nother Null ("Cage"). The Leader controll the position and direction (where the Z-axis is pointing) of the Cage. My idea was to have the ball rolling inside the Cage and somehow rotate in the direction the Cage was heading. And here I lost it....
Any takers?
Why all this then? you might ask. Well it would be very easy to animate many ballsports more realistically.
Imagine how the numbers on the balls in a poolgame look when they bounce around.
Regards
Lennart
