Search found 4 matches

by Kurasiu
Sun Dec 30, 2012 5:47 pm
Forum: Beginners Help
Topic: Spawning/moving object chunks at explosion
Replies: 8
Views: 1173

Re: Spawning/moving object chunks at explosion

Abraxas) wrote:All the animator is doing is changing it's position and rotation.
Wow, you don't say! Well, if you haven't noticed yet that's exactly the thing I'm trying to do. No fancy things, no physics, no ballistic equation, just changing the position and rotation of the chunk.
by Kurasiu
Sat Dec 29, 2012 9:52 pm
Forum: Beginners Help
Topic: Spawning/moving object chunks at explosion
Replies: 8
Views: 1173

Re: Spawning/moving object chunks at explosion

Sorry for the bump, however after re-reading irrlicht documentation I found three very useful (for this problem) methods in scene manager: createRotationAnimator, createDeleteAnimator and createFlyCircleAnimator. Rotation Animator and delete animator are working flawless, I'm having no problems with ...
by Kurasiu
Sat Dec 08, 2012 10:07 am
Forum: Beginners Help
Topic: Spawning/moving object chunks at explosion
Replies: 8
Views: 1173

Re: Spawning/moving object chunks at explosion

Ok, to sum it up, I'm using

m_pChunk=vector3df(last_x, last_y, last_z);
m_pChunk->setPosition(m_pAnimatedMeshPosition);


to set the chunk's position, then using own setChunkRotation/changeChunkRotation methods to rotate it. However any idea how to move it along a nice arch, like on the gif ...
by Kurasiu
Thu Dec 06, 2012 5:07 pm
Forum: Beginners Help
Topic: Spawning/moving object chunks at explosion
Replies: 8
Views: 1173

Spawning/moving object chunks at explosion

Hello everybody! My first topic here, haha. The subject's name may be a bit unclear so I'll try to explain it as best as I can:

Basicly I have a bit of code that checks whether the moving object "Bullet" collides with any other destuctable object. If the bullet collides with such object it deletes ...