C
crappydude123
Guest
I'm setting up a fighting game camera
I keep getting this error
m_camera->SetViewParams(
XMFLOAT3(0.0f, 0.7f, 0.0f), // Eye point in world coordinates.
m_playerOne->Position() +
m_playerTwo->Position(), // Look at point in world coordinates.
XMFLOAT3(0.0f, 1.0f, 0.0f) // The Up vector for the camera.
);
E0135 class "Player" has no member "VectorPosition"
E2208 expression must have a pointer or handle type
Continue reading...
I keep getting this error
m_camera->SetViewParams(
XMFLOAT3(0.0f, 0.7f, 0.0f), // Eye point in world coordinates.
m_playerOne->Position() +
m_playerTwo->Position(), // Look at point in world coordinates.
XMFLOAT3(0.0f, 1.0f, 0.0f) // The Up vector for the camera.
);
E0135 class "Player" has no member "VectorPosition"
E2208 expression must have a pointer or handle type
Continue reading...