Hi,
I'm noticing something confusing in the MovementController code that was added post-press. In MovementController:: OnUpdate I see code like m_object->VSetTransform(&m_matToWorld, &m_matFromWorld);, rather then adding a movement event like in the book for the game view to update the scenenode.
Doesn't this break the rules by allowing the controller to directly manipulate the position of the scenenode, thereby bypassing all game logic? Thanks for any clarification on this!
I'm noticing something confusing in the MovementController code that was added post-press. In MovementController:: OnUpdate I see code like m_object->VSetTransform(&m_matToWorld, &m_matFromWorld);, rather then adding a movement event like in the book for the game view to update the scenenode.
Doesn't this break the rules by allowing the controller to directly manipulate the position of the scenenode, thereby bypassing all game logic? Thanks for any clarification on this!
The post was edited 1 time, last by trs79 ().