Search found 4 matches

by markrenton
Thu Jun 07, 2007 9:37 pm
Forum: Beginners Help
Topic: some help with movement and help with creating an FPS
Replies: 8
Views: 337

Re: some help with movement and help with creating an FPS

About movement

Code: Select all


core::vector3df v = node->getPosition();
v.Y += event.KeyInput.Key == KEY_KEY_W ? 2.0f : -2.0f;
node->setPosition(v);

in these lines, just change v.Y to v.X
That's all :)
by markrenton
Thu Jun 07, 2007 8:38 pm
Forum: Beginners Help
Topic: Simple lightning question with nodes
Replies: 4
Views: 267

I point out the -1,-1,-1 thing before :)

I will try inverting the normals and such.

Thank you
by markrenton
Thu Jun 07, 2007 8:31 pm
Forum: Beginners Help
Topic: Simple lightning question with nodes
Replies: 4
Views: 267

Look at the example number 11. It's a room with an sphere a moving light and some other things. Yeah I was looking to that example, but room "mesh" is imported from a file there. I want to create a room with nodes and add lightning, shading to it. Or to learn how to create my own mesh (a ...
by markrenton
Thu Jun 07, 2007 8:22 pm
Forum: Beginners Help
Topic: Simple lightning question with nodes
Replies: 4
Views: 267

Simple lightning question with nodes

Hello all, this is my first message here. Excuse me, 'cause I'm a real amateur on 3d. I want to make a simple application. A ball in a room. But I want to add light to the scene. In irrlicht examples, they always use meshes (which is imported from a 3ds max file etc.) I want to make a room using &qu...