Search found 44 matches

by belva1234
Mon Jun 11, 2012 12:31 pm
Forum: Beginners Help
Topic: how to place an object where the mouse points
Replies: 21
Views: 1618

Re: how to place an object where the mouse points

I' ve set an event receiver when you press the right button starts the funtion
by belva1234
Mon Jun 11, 2012 12:03 pm
Forum: Beginners Help
Topic: how to place an object where the mouse points
Replies: 21
Views: 1618

Re: how to place an object where the mouse points

omgggggggggggggggggggggg it workkkkkkkkkkkkkkkkkkk i loveeeeeeeeeeeeeeeeeeeeeeee youuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu
BUTTTTTTTTTTT
if i move the camera the cube disappear
by belva1234
Mon Jun 11, 2012 11:46 am
Forum: Beginners Help
Topic: how to place an object where the mouse points
Replies: 21
Views: 1618

Re: how to place an object where the mouse points

ISceneNode has no member named getMesh...
by belva1234
Mon Jun 11, 2012 11:36 am
Forum: Beginners Help
Topic: how to place an object where the mouse points
Replies: 21
Views: 1618

Re: how to place an object where the mouse points

when I run the program there is an error Run time: the variable 'selector'is being used without being initialized
by belva1234
Mon Jun 11, 2012 11:07 am
Forum: Beginners Help
Topic: how to place an object where the mouse points
Replies: 21
Views: 1618

Re: how to place an object where the mouse points

I replaced the code and adapting it to my , is correct right?
void SchootBlocks(){
scene::ITriangleSelector* selector;
scene::ISceneCollisionManager* collMan = smgr->getSceneCollisionManager();
irr::core::position2d<s32> mousePosition= device->getCursorControl()->getPosition();
//da modificare ...
by belva1234
Mon Jun 11, 2012 10:07 am
Forum: Beginners Help
Topic: how to place an object where the mouse points
Replies: 21
Views: 1618

Re: how to place an object where the mouse points

ok maybe I understood. using the solution of mel I changed the code: scene::ITriangleSelector* selector;
scene::ISceneCollisionManager* collMan = smgr->getSceneCollisionManager();
irr::core::position2d<s32> mousePosition= device->getCursorControl()->getPosition();
//da modificare la texture ...
by belva1234
Mon Jun 11, 2012 9:04 am
Forum: Beginners Help
Topic: how to place an object where the mouse points
Replies: 21
Views: 1618

Re: how to place an object where the mouse points

Ok I understand and I've almost solved my problem just a question even then I don' t speak more xD .how found I the position of the mouse?
by belva1234
Sun Jun 10, 2012 11:18 pm
Forum: Beginners Help
Topic: how to place an object where the mouse points
Replies: 21
Views: 1618

Re: how to place an object where the mouse points

I know enough about the c + + but also tell me if I knew the C + + well but did not know the functions of irrlicht. How would I do? Then if I try to learn but nobody can help me...
by belva1234
Sun Jun 10, 2012 7:08 pm
Forum: Everything 2d/3d Graphics
Topic: Seeking a graphic
Replies: 3
Views: 1122

Seeking a graphic

Hello everyone I am creating a game in which survival is shipwrecked on an island. take resources from plants, trees etc and build objects and houses made from blocks ... there is none that can help me with the graphics ...
by belva1234
Sun Jun 10, 2012 4:07 pm
Forum: Beginners Help
Topic: how to place an object where the mouse points
Replies: 21
Views: 1618

Re: how to place an object where the mouse points

Anyone can help me??????????
by belva1234
Fri Jun 08, 2012 9:57 pm
Forum: Beginners Help
Topic: how to place an object where the mouse points
Replies: 21
Views: 1618

Re: how to place an object where the mouse points

ok but I do not understand 2 things: 1) node in my code corresponds to the node of the block?? 2) MousePosition ... not declared Thanks very much for the help
by belva1234
Fri Jun 08, 2012 9:54 am
Forum: Beginners Help
Topic: how to place an object where the mouse points
Replies: 21
Views: 1618

Re: how to place an object where the mouse points

I'm Italian and I understand in part, you can modify the code please
by belva1234
Fri Jun 08, 2012 9:29 am
Forum: Beginners Help
Topic: how to place an object where the mouse points
Replies: 21
Views: 1618

how to place an object where the mouse points

Hy I tried for several hours yesterday to try using this code but nothing I 've finished idea can you help me?? this is the code
void SchootBlocks(){
scene::ISceneCollisionManager* collMan = smgr->getSceneCollisionManager();

//da modificare la texture blocco in base all blocco che si e ...
by belva1234
Thu Jun 07, 2012 11:39 pm
Forum: Beginners Help
Topic: Run time error? WTF
Replies: 28
Views: 1404

Re: Run time error? WTF

I have no funking idea I've tried everything.
Now i tray to display the cordinates who the cube is create
by belva1234
Thu Jun 07, 2012 8:58 pm
Forum: Beginners Help
Topic: Run time error? WTF
Replies: 28
Views: 1404

Re: Run time error? WTF

You say that I should show the coordinates of the block when it is created?