Search found 5 matches

by scarface
Sat Aug 25, 2007 4:20 pm
Forum: Beginners Help
Topic: Newton tutorial not working (private datamember)
Replies: 3
Views: 431

Ok thanks ;), the sources on the link above and the Newton tutorial on the official site should also change this way.
by scarface
Fri Aug 24, 2007 9:25 pm
Forum: Beginners Help
Topic: Newton tutorial not working (private datamember)
Replies: 3
Views: 431

Newton tutorial not working (private datamember)

I can't compile the code written in the following link:
http://walaber.com/newton_wiki/index.php?title=Tutorial_-_Irrlicht_and_Newton_start

The error I get is that the core::matrix4 mat is private:

NewtonGetEulerAngle ( &mat.M[0], &euler.X );


I tryed the following code, no error, but the ...
by scarface
Wed Jun 14, 2006 4:49 pm
Forum: Beginners Help
Topic: Plane problem (simple 3d rotation formula)
Replies: 0
Views: 256

Plane problem (simple 3d rotation formula)

I'm working for a plane game, it's my first 3d project.

My code has some problems I couldn't figure out. When I rotate to right and go back to the beginning point it doesn't stop moving. I found this function to rotate, but if you have a better or simpler one, please share.

Thanks very much ...
by scarface
Sun Jun 11, 2006 9:36 am
Forum: Beginners Help
Topic: Controls don't work properly.
Replies: 7
Views: 395

I understand, thanks ;)
by scarface
Sun Jun 11, 2006 7:38 am
Forum: Beginners Help
Topic: Controls don't work properly.
Replies: 7
Views: 395

Controls don't work properly.

My code:
if (node != 0 && event.EventType == irr::EET_KEY_INPUT_EVENT&&
!event.KeyInput.PressedDown)
{
switch(event.KeyInput.Key)
{
case KEY_KEY_S:
{
core::vector3df v = cow->getPosition();
v.Y -=2.0f;
cow->setPosition(v);
}
case KEY_KEY_Z:
{
core::vector3df v = cow->getPosition();
v ...