PDA

View Full Version : D3DFVF_XYZRHW move worl?



lordzero
19-09-2007, 02:46 PM
Hello

with orthogonal camera i can move the camera... i have a projection...

but using a vertex with D3DFVF_XYZRHW... how can i move the world position? for example a side scroller game with a great map...?

need i move the "x" and "y" position of the other sprites? and the "player" stay in the same position? or have a other best way?

Greets

Mirage
19-09-2007, 04:33 PM
To move D3DFVF_XYZRHW-based objects you should lock vertex buffer and modify vertices directly.