Hi, I'm trying to add a flashlight light to my scene and Ive searched these forums and found this code from another post.
ILightSceneNode* flashlight = smgr->addLightSceneNode();
SLight flashlightData;
flashlightData.Direction= camera[0]->getRotation();
flashlightData.OuterCone= 20 ...
Search found 2 matches
- Fri Apr 20, 2012 4:08 pm
- Forum: Beginners Help
- Topic: Flashlight
- Replies: 2
- Views: 604
- Sat Jan 21, 2012 8:17 pm
- Forum: Beginners Help
- Topic: Collision Area
- Replies: 2
- Views: 290
Collision Area
Hi, i'm pretty new to Irrlicht so forgive me if I'm not doing this correctly.
I've got some code working for my collision detection, however, I am having trouble with the area of the collision.
For example, I have a building in my game scene, and although the collision works, the camera goes ...
I've got some code working for my collision detection, however, I am having trouble with the area of the collision.
For example, I have a building in my game scene, and although the collision works, the camera goes ...