Search found 6 matches

by paperjack
Mon Jun 14, 2010 7:44 pm
Forum: Code Snippets
Topic: BeamSceneNode
Replies: 33
Views: 17750

nobody can help me D: ?
by paperjack
Thu Jun 10, 2010 12:26 pm
Forum: Code Snippets
Topic: BeamSceneNode
Replies: 33
Views: 17750

@paperjack

i just checked my source i thought it maybe due to an old irrlicht version but there is no Textures in the code?what code are you using?

What do you mean what code I'm using ? I'm using the latest irrlicht taken directly from the site.
The code I'm using is the one in the first post ...
by paperjack
Sun Jun 06, 2010 9:34 am
Forum: Code Snippets
Topic: BeamSceneNode
Replies: 33
Views: 17750

I have trouble compiling this.
It says

Code: Select all

In constructor `irr::scene::CBeamNode::CBeamNode(irr::scene::ISceneNode*, irr::scene::ISceneManager*, irr::s32, char*, char*)': 
'class irr::video::SMaterial' has no member named 'Textures'
I'm not sure how do I fix this...
by paperjack
Sun Jun 06, 2010 9:16 am
Forum: Beginners Help
Topic: object a facing object b
Replies: 4
Views: 862

I did it!
I made 2 methods:


void obj_apointb(scene::ISceneNode * obj1,scene::ISceneNode * obj2)
{
core::vector3df obj1pos = obj1->getPosition();
core::vector3df obj2pos = obj2->getPosition();
core::vector3df obj1rot = obj2->getRotation();
int temp;

obj1rot.Y = atan2((obj1pos.X-obj2pos.X ...
by paperjack
Thu Jun 03, 2010 8:44 am
Forum: Beginners Help
Topic: object a facing object b
Replies: 4
Views: 862

It doesn't work. It has two global variables and a lot of functions which I don't know what do define as.
by paperjack
Wed Jun 02, 2010 9:22 am
Forum: Beginners Help
Topic: object a facing object b
Replies: 4
Views: 862

object a facing object b

Hi! I'm having some trouble on how rotations are handled in Irrlicht.
I want my object A to rotate and point towards object B, so I made this simple function:

void obj_apointb(scene::ISceneNode * obj1,scene::ISceneNode * obj2)
{
core::vector3df obj1pos = obj1->getPosition();
core::vector3df ...