alien,
how is the un-smoothed version of this code?
and how are you getting the "const vector3df repulsion;" value?
Search found 15 matches
- Sat Mar 29, 2008 9:31 pm
- Forum: Code Snippets
- Topic: (C++) Smooth Alignment of Up-Vector (p.E to floor)
- Replies: 2
- Views: 3744
- Fri Mar 21, 2008 6:28 pm
- Forum: Project Announcements
- Topic: IrrNewt irrlicht\newton framework >> SVN access
- Replies: 432
- Views: 132555
- Fri Mar 21, 2008 5:32 am
- Forum: Project Announcements
- Topic: IrrNewt irrlicht\newton framework >> SVN access
- Replies: 432
- Views: 132555
- Thu Mar 20, 2008 5:33 am
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: Free Flight (space flight) functions
- Replies: 64
- Views: 76875
- Wed Mar 19, 2008 5:11 pm
- Forum: Beginners Help
- Topic: how to keep the mesh aligned with the plane(s) below
- Replies: 5
- Views: 502
where (x1,y1) is the contact point on a plane and (x2,y2) on the other plane. I'll try to use this formula (y2-y1)/(x2-x1) to get the Z axis inclination between those two points. For the X axis inclination I'll do the same but with contact points at (y,z). I'll have to do like JP said, use two rays ...
- Sun Mar 16, 2008 6:28 pm
- Forum: Beginners Help
- Topic: how to keep the mesh aligned with the plane(s) below
- Replies: 5
- Views: 502
Exactly JP I think this image illustrates better the problem: when the mesh bounding box is over a single plane it's easy to find the bbox inclination, but when it's over two planes, with diferent angles, that inclination varies with the bbox position. Well, what math formula I have to apply to get ...
- Sun Mar 16, 2008 6:00 am
- Forum: Beginners Help
- Topic: how to keep the mesh aligned with the plane(s) below
- Replies: 5
- Views: 502
how to keep the mesh aligned with the plane(s) below
with the basic collision detection, explained in the tutorials, this is the way I can make some mesh climb a mountain (for example), the mesh stay aligned with the world axis, not realistic at all =). http://img522.imageshack.us/img522/527/planecdofp0.png What's the trick to make the mesh stay align...
- Thu Mar 13, 2008 9:45 pm
- Forum: Beginners Help
- Topic: Face next Position, relative to current Rotation [SOLVED]
- Replies: 15
- Views: 3275
- Thu Mar 13, 2008 4:54 pm
- Forum: Beginners Help
- Topic: Proper initialization for a derived abstract class
- Replies: 1
- Views: 483
Proper initialization for a derived abstract class
Hi people, How do I derive and then initializate an abstract class? I have this header file //classCTrack.h class CTrack { public: CTrack(); virtual ~CTrack(); void set_Track(stringc trackName,ISceneManager* levelMgr,IPhysicsManager* plevelMgr); private: IPhysicsNode* ptrackNode; //want to derive an...
- Wed Mar 12, 2008 3:29 am
- Forum: Project Announcements
- Topic: Tumle v1.4 irrlicht/newton
- Replies: 80
- Views: 28316
:) you're right Halifax fixed now. still, the node dont want to receive arguments, but I think I'm getting more close to solve this. Is there some rule against declare abstract members in a class header? Like this node in the classTruck.h: ISceneNode* truckNode; and then try to assign some value in ...
- Tue Mar 11, 2008 8:06 pm
- Forum: Project Announcements
- Topic: Tumle v1.4 irrlicht/newton
- Replies: 80
- Views: 28316
Thank you very much Halifax!
But even using addAnimatedMeshSceneNode the node still receives nothing
p.s.: this line in the main file must be commented
But even using addAnimatedMeshSceneNode the node still receives nothing
p.s.: this line in the main file must be commented
Code: Select all
ISceneManager* truckMgr = device->getSceneManager();
- Tue Mar 11, 2008 6:26 pm
- Forum: Project Announcements
- Topic: Tumle v1.4 irrlicht/newton
- Replies: 80
- Views: 28316
- Sun Mar 09, 2008 4:15 pm
- Forum: Advanced Help
- Topic: Tumle: "no mesh" error on already loaded mesh
- Replies: 10
- Views: 788
- Sat Mar 08, 2008 11:51 pm
- Forum: Advanced Help
- Topic: Tumle: "no mesh" error on already loaded mesh
- Replies: 10
- Views: 788
- Sat Mar 08, 2008 10:55 pm
- Forum: Advanced Help
- Topic: Tumle: "no mesh" error on already loaded mesh
- Replies: 10
- Views: 788
Tumle: "no mesh" error on already loaded mesh
Hi people, after compiling my code without errors or warnings I get this error in runtime: Loaded mesh: track01.ms3d Needed 1ms to create OctTree SceneNode.(14 nodes, 650 polys) TUMLE: passed node has no mesh, passed mesh used to create level collision Part of my code: IrrlichtDevice* device = creat...