//! animates a scene node
void CSceneNodeAnimatorFlyCircle::animateNode(ISceneNode* node, u32 timeMs)
{
core::matrix4 mat; //never read
f32 t = (timeMs-StartTime) * Speed;
core::vector3df circle(Radius * (f32)sin(t), 0, Radius * (f32)cos(t));
node->setPosition(Center + circle);
}
Search found 2 matches
- Mon Jul 10, 2006 11:18 pm
- Forum: Bug reports
- Topic: never read variable in CSceneNodeAnimatorFlyCircle
- Replies: 0
- Views: 258
- Sat Jul 08, 2006 6:53 am
- Forum: Bug reports
- Topic: OpenGL variable image transparency
- Replies: 6
- Views: 723
I had same problem in irrlicht 1.0 and then changed source like MedO, it works perfectly.
I guess why it it changed :
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=3269
I guess why it it changed :
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=3269