i have a cubescenenode and i want to rotate it like a triangle, so the surface of the node is parallel to the triangle.
So how can i get the rotation of the triangle?
________
Starcraft 2 replays
Search found 28 matches
- Fri Apr 16, 2010 9:57 am
- Forum: Beginners Help
- Topic: get rotation of a triangle
- Replies: 1
- Views: 241
- Sat Apr 10, 2010 5:15 pm
- Forum: Beginners Help
- Topic: Blood on hit enemy
- Replies: 4
- Views: 749
because i dont know how to do it. i do not even know if this is possible with irrlicht or maybe doesnt make sense
________
Angelina Jolie
________
Angelina Jolie
- Sat Apr 10, 2010 2:49 pm
- Forum: Beginners Help
- Topic: Blood on hit enemy
- Replies: 4
- Views: 749
Blood on hit enemy
i want to write something to have blood on enemy skin when i hit it with a weapon (could be used for thinks like bulletholes, too). the idea i thought of is to get the texture of the enemy, modify it and reattach it to the enemy or maybe use the different texture layers for this? would something lik...
- Thu Apr 01, 2010 6:32 pm
- Forum: Beginners Help
- Topic: Inheritance Problem
- Replies: 5
- Views: 294
theres a lot more i wanna do with this class, its just not in the example i posted.
so it is just impossible to inherit from ParticleSystemSceneNode??
________
MEDICAL CANNABIS
so it is just impossible to inherit from ParticleSystemSceneNode??
________
MEDICAL CANNABIS
- Thu Apr 01, 2010 1:36 pm
- Forum: Beginners Help
- Topic: Inheritance Problem
- Replies: 5
- Views: 294
- Thu Apr 01, 2010 1:03 pm
- Forum: Beginners Help
- Topic: Inheritance Problem
- Replies: 5
- Views: 294
Inheritance Problem
i have this class: class _wallParticleEffect : public irr::scene::IParticleSystemSceneNode { ..... and this is the constructor: _wallParticleEffect::_wallParticleEffect(ISceneManager* smgr, IVideoDriver* driver, vector3df collisionPoint, triangle3df hitTriangle, int timer) : IParticleSystemSceneNode...
- Wed Mar 31, 2010 6:38 pm
- Forum: Beginners Help
- Topic: setAbsolutePosition()
- Replies: 12
- Views: 834
yeeeah, it f****** works 100%, i used arra's solution, it works perfectly.... after almost a week i finally got it!!! now noone can stop me anymore!!
________
ACTROS
________
ACTROS
- Wed Mar 31, 2010 4:53 pm
- Forum: Beginners Help
- Topic: setAbsolutePosition()
- Replies: 12
- Views: 834
ok, now the code works.... the only problem i guess is the scale, my parent is scaled and so it doesnt work. if i remove the scaling it works perfectly.
________
Genetically Modified Food
________
Genetically Modified Food
- Wed Mar 31, 2010 2:04 pm
- Forum: Beginners Help
- Topic: setAbsolutePosition()
- Replies: 12
- Views: 834
well, i tried your code, Acki, and it didnt work for me. i rotated the parent and the child always had a different position, i cannot imagine thats its working correct on your machine... this function must be incorrect!! we need a correct setAbsolutePosition() function!!
________
Gift cards
________
Gift cards
- Wed Mar 31, 2010 11:56 am
- Forum: Beginners Help
- Topic: setAbsolutePosition()
- Replies: 12
- Views: 834
i got that in this threat: http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=37898sash wrote:There is more interesting thing - is how to set absoluteRotation for a node with partent. No one tried yet ?
________
Hero Honda Cbz History
- Wed Mar 31, 2010 9:27 am
- Forum: Beginners Help
- Topic: setAbsolutePosition()
- Replies: 12
- Views: 834
but I'm not sure what this pParent->getAbsoluteTransformation().inverseRotateVect(v); call is for, I think you should remove it... if i remove this, then the function does nothing at all, this is the line the function is all about. u said it worked for u? could u post your example code were it work...
- Tue Mar 30, 2010 10:18 pm
- Forum: Beginners Help
- Topic: setAbsolutePosition()
- Replies: 12
- Views: 834
- Tue Mar 30, 2010 1:33 pm
- Forum: Project Announcements
- Topic: IrrNewt irrlicht\newton framework >> SVN access
- Replies: 432
- Views: 132294
- Mon Mar 29, 2010 11:48 pm
- Forum: Beginners Help
- Topic: rotate a particle emitter
- Replies: 5
- Views: 624
i think i got it:
this neutralizes the rotation coming from the parent.
the other problem is now i need to do the same with the position...
________
Mexico Hotels
Code: Select all
_ps->setParent(bone);
_ps->setRotation((-1)*_ps->getParent()->getAbsoluteTransformation().getRotationDegrees());
the other problem is now i need to do the same with the position...
________
Mexico Hotels
- Mon Mar 29, 2010 10:18 pm
- Forum: Beginners Help
- Topic: rotate a particle emitter
- Replies: 5
- Views: 624
the problem is i want it to rotate with the parent later, but i dont want tochange its rotation while attaching it
________
VAPORIZER REVIEW
________
VAPORIZER REVIEW