Can't find them anywhere on the manual although it's the way of predefining them in Lite-C. Now I found that when using VECTOR* I get my function Kick() to crash (or declaring "VECTOR* something;" anywhere in my code I get funny results) and when I don't use the * everything works fine.

Whats up with that?

Some code:

VECTOR* vKick;

function Kick()
{
vKick.x = 150; vKick.y = 0; vKick.z = 65;
vec_rotate(vKick, eCam.pan);
phent_addvelcentral(eBall, vKick);
//Plop(); //play a sound
}
Makes it crash...

or usining VECTOR* temp:

function point_cam()
{
VECTOR* temp;
vec_set(temp, eBall.x);
vec_sub(temp, eCam.x);
vec_to_angle(eCam.pan, temp);
}

Then the camera points somewhere and I see blue sky only.

Last edited by Crypton; 06/19/09 19:13. Reason: typo

New into Gamestudio and eager to learn it..
Stuff and games done in 2D: LINK