Search found 16 matches

by WromthraX
Mon Feb 23, 2004 10:19 am
Forum: Advanced Help
Topic: Collision detection not responding
Replies: 17
Views: 2848

That was me above :)
by WromthraX
Sat Feb 21, 2004 4:54 pm
Forum: Advanced Help
Topic: Collision detection not responding
Replies: 17
Views: 2848

Collision detection not responding

I had my question posted on 'Begginer Help' forum ( http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=1380 ) but I've not been able to solve the problem. Apparently everything in the code is ok, but collision detection doesn't work at all. Also, it works with FPS camera but with my scenenode th...
by WromthraX
Tue Feb 17, 2004 1:26 am
Forum: Beginners Help
Topic: Strange problem with collision
Replies: 12
Views: 1400

Nah, it's the same, but thanks anyway. In 0.4.2 you can just give the name of the mesh.

I don't think that the problem is there because this code works fine when I put FPS camera instead of ball.

Something is wrong with the ball I guess...
by WromthraX
Mon Feb 16, 2004 8:57 pm
Forum: Beginners Help
Topic: Strange problem with collision
Replies: 12
Views: 1400

I've tried with that code too and I get the same result, ball just drops thru the floor.. thanks for help anyway. I don't know what to do anymore, so I paste the entire code and if anyone is willing to look over it and tell me if there is any mistake in collision or any other parts of the code that ...
by WromthraX
Mon Feb 16, 2004 6:26 pm
Forum: Beginners Help
Topic: Strange problem with collision
Replies: 12
Views: 1400

And another thing, the code performes perfectly when I replace the ball scene node in the coollisionresponse animator with my FPS camera. So the camera collides with walls and everything but ball scene node doesn't.

So there must be an error with the ball somewhere...
by WromthraX
Mon Feb 16, 2004 5:53 pm
Forum: Beginners Help
Topic: Strange problem with collision
Replies: 12
Views: 1400

Hm, i get an error while trying to do ball->anim->setWorld(world) it says: `class irr::scene::IAnimatedMeshSceneNode' has no member named ` then i try just anim->setWorld(world) and then it says: no matching function for call to `irr::scene::ISceneNodeAnimator Btw. my collision animator code behaves...
by WromthraX
Mon Feb 16, 2004 5:30 pm
Forum: Beginners Help
Topic: Strange problem with collision
Replies: 12
Views: 1400

Sorry I haven't seen the message, I was typing the reply ;)

Thanks for help!
by WromthraX
Mon Feb 16, 2004 5:30 pm
Forum: Beginners Help
Topic: Strange problem with collision
Replies: 12
Views: 1400

Sorry if I'm boring but in the createCollisionResponseAnimator function, the first parameter u pass to the function is the TriSelector created from the node with wich u want to collide, am i right? virtual ISceneNodeAnimatorCollisionResponse* irr::scene::ISceneManager::createCollisionResponseAnimato...
by WromthraX
Mon Feb 16, 2004 5:08 pm
Forum: Beginners Help
Topic: Strange problem with collision
Replies: 12
Views: 1400

OK i don't get it at all, from your post i see the error is in this part of code IAnimatedMesh* floormesh = smgr->getMesh("data/floor.3ds"); ISceneNode* floor = 0; ITriangleSelector* world = 0; if (floormesh) floor = smgr->addOctTreeSceneNode(floormesh); if (floor) { floor->setPosition(vec...
by WromthraX
Mon Feb 16, 2004 4:03 pm
Forum: Beginners Help
Topic: Strange problem with collision
Replies: 12
Views: 1400

Strange problem with collision

I have a room made in 3ds max and a ball that acts like a player. All interior in the room and the room itself is a single object. I've added an octreetriangleselector to the room and set it on my room scene node and I added a collisionresponseanimator to the ball just like with camera in the tutori...
by WromthraX
Mon Feb 16, 2004 3:46 pm
Forum: Beginners Help
Topic: is it possible to take models from 3d studio max?
Replies: 11
Views: 703

In 3D Studio Max under the File menu u have an option Export, go there and Export your model or scene in .3ds format.
by WromthraX
Mon Feb 16, 2004 3:25 pm
Forum: Beginners Help
Topic: is it possible to take models from 3d studio max?
Replies: 11
Views: 703

If your question is about loading files made in 3d studio max (*.3ds) into Irrlich engine, yes it is possible. I use that myself. You can find the code in the first tutorial.
by WromthraX
Sat Feb 14, 2004 7:13 pm
Forum: Beginners Help
Topic: RPG game, mouse coordinates movement
Replies: 7
Views: 945

I found somethig about that function here in the forum but I was not able to find it in the help file a got with irrlich, maybe I have older version or something.

Thanks keless!
by WromthraX
Sat Feb 14, 2004 12:59 pm
Forum: Beginners Help
Topic: RPG game, mouse coordinates movement
Replies: 7
Views: 945

Ok, you are kind a right... I've practiced :D and i figure out how to do collision detection and pick triangles with ray etc.. but.. How do I make the ray go thru the point where mouse clicked, and how to get position of the triangle i get couse ->GetPosition or .GetPosition doesn't work... ..or i a...
by WromthraX
Fri Feb 13, 2004 5:38 pm
Forum: Beginners Help
Topic: RPG game, mouse coordinates movement
Replies: 7
Views: 945

Yes, but i don't have enough skill yet to write that on my own.. :( What do i have to add for that to work, i just need to get the coordinates into a variable, i'll figure out the movement myself. When someone clicks on "floor" scene node i want to get the position of click (the place wher...