Search found 246 matches
- Sat Oct 15, 2011 4:02 pm
- Forum: Beginners Help
- Topic: [Solved][IrrBullet] Get Rigidbody from Node
- Replies: 9
- Views: 598
Re: [IrrBullet] Get Rigidbody from Node
Hope the following could keep you going. You could pass the map as reference to the rigid body setup function: ===================================================================== IRigidBody* setupRigidBody ( core::map<scene::ISceneNode*, IRigidBody*>& nodeBodyMap, ... ) { ... nodeBodyMap[node]...
- Sat Oct 15, 2011 1:28 pm
- Forum: Beginners Help
- Topic: [Solved][IrrBullet] Get Rigidbody from Node
- Replies: 9
- Views: 598
Re: [IrrBullet] Get Rigidbody from Node
You may use a map to save the node and the associated body when setting up irrbullet:
Code: Select all
core::map<scene::ISceneNode*, IRigidBody*> NodeBodyMap;
- Wed Oct 05, 2011 4:28 pm
- Forum: Advanced Help
- Topic: Triangle Selector (Selecting triangles intersect boundinbox)
- Replies: 7
- Views: 1881
Re: Triangle Selector (Selecting triangles intersect boundin
CDecalModel class of lightfeather may be useful. You may just port the class to irrlicht instead of writing your own decal system. http://lightfeather.de/lf/documentation/apidocs/classlf_1_1res_1_1CDecalModel.html The method is referenced by: Game Programming Gems 2 "Applying Decals to Arbitrar...
- Tue Oct 04, 2011 8:19 pm
- Forum: Advanced Help
- Topic: Triangle Selector (Selecting triangles intersect boundinbox)
- Replies: 7
- Views: 1881
Re: Triangle Selector (Selecting triangles intersect boundin
The function has not been implemented yet. Look at CTriangleSelector.cpp in the source.
- Sun Jul 03, 2011 4:28 pm
- Forum: Project Announcements
- Topic: irrBullet 0.1.8 - Bullet physics wrapper
- Replies: 454
- Views: 163278
Re: irrBullet 0.1.71 - Bullet physics wrapper
You may parent the scene node to an empty scene node and use the empty scene node to set up the irrbullet rigid body. Then you may position the scene node as you like.
- Wed Jun 01, 2011 6:44 pm
- Forum: Advanced Help
- Topic: Get roll of a node (airplane)
- Replies: 8
- Views: 1032
Get roll of a node (airplane)
There is the up-vector in the world space and that of the node in the local space. Is the angle between them the roll angle? What if the airplane pitched down by 90 degrees and did no rolling? On the other hand, I think the value of roll, yaw and pitch can be found more easily if the yaw, pitch and ...