jettero heller

16-03-2009 00:37:00

Hi everybody.

I'm looking at the nxogre 0.9 character controller.

I'm a bit confused about the calcPosition method

calcPosition(NxVec3 &out, NxVec3 &moveVector, NxQuat &direction, NxVec3 &g, float t,....) {

out = (moveVector + g) * t;

}

I don't understand what is moveVector. Is it an acceleration? is it a direction?

How is calculated the output direction? How is related with the uniformly accelerated rectilinear motion law s = v0t+1/2at^2??

Sorry if this is a stupid question.

I'm looking at the nxogre 0.9 character controller.

I'm a bit confused about the calcPosition method

calcPosition(NxVec3 &out, NxVec3 &moveVector, NxQuat &direction, NxVec3 &g, float t,....) {

out = (moveVector + g) * t;

}

I don't understand what is moveVector. Is it an acceleration? is it a direction?

How is calculated the output direction? How is related with the uniformly accelerated rectilinear motion law s = v0t+1/2at^2??

Sorry if this is a stupid question.