@B@z:
omgosh sometimes it's too simple
@Achki
I thought that it must be at least an int or string because of
my error messages i got a few builds before. but it could be
that i made another mistake ; therefore nvm
many thanks !
Search found 4 matches
- Wed Nov 12, 2008 6:26 am
- Forum: Beginners Help
- Topic: How to Store Cam Position in vector3df
- Replies: 8
- Views: 1127
- Mon Nov 03, 2008 7:39 am
- Forum: Beginners Help
- Topic: How to Store Cam Position in vector3df
- Replies: 8
- Views: 1127
Well, the reason were these Error Messages: (Remember i want to print out the current cam Pos on the Screen). So the values must be at least int or string. // ERROR: can't convert vector3df in float //float camPosTest = smgr->getActiveCamera()->getAbsolutePosition(); vector3df camPosTest = smgr->get...
- Sun Nov 02, 2008 12:22 pm
- Forum: Beginners Help
- Topic: How to Store Cam Position in vector3df
- Replies: 8
- Views: 1127
Thanks guys !
I now got an answer : - )
It was .. pretty 2 simple
Thanks in advance!
I now got an answer : - )
It was .. pretty 2 simple
Code: Select all
camX = smgr->getActiveCamera()->getAbsolutePosition().X;
- Sun Nov 02, 2008 9:00 am
- Forum: Beginners Help
- Topic: How to Store Cam Position in vector3df
- Replies: 8
- Views: 1127
How to Store Cam Position in vector3df
Hi there guys! I have a little Problem. I want to print out the current Cam Postion on the Screen. Therefore i thought i could store the current position into a vector 3df var. Currently my Code looks like this. vector3df camPos; float camX = 1.0f; float camY = 1.0f; float camZ = 1.0f; ..while () .....