Search found 122 matches
- Wed Aug 20, 2008 5:43 pm
- Forum: Beginners Help
- Topic: Dev-Cpp "Access violation"!? Why?
- Replies: 10
- Views: 649
Re: Dev-Cpp "Access violation"!? Why?
Hi, You are using "device" right at the beginning (somewhere) in your main() function. It isn't initialized. You initialize it under the while(xml && xml->read()). You can fix it by putting (at least) the device initialization right above the xml code block like this: int main() { ...
- Tue Aug 19, 2008 5:42 pm
- Forum: Beginners Help
- Topic: EventReceiver problems
- Replies: 5
- Views: 335
Hi,
Try this:
Try this:
Code: Select all
CEventReceiver* Receiver = new CEventReceiver();
this->device = createDevice(video::EDT_OPENGL,dimension2d<s32>(1024,768),32,false,true,true, Receiver);
- Fri Aug 15, 2008 9:33 pm
- Forum: Open Discussion and Dev Announcements
- Topic: SF maintenance, problems ahead around August 18th
- Replies: 16
- Views: 3554
- Fri Aug 15, 2008 10:08 am
- Forum: Code Snippets
- Topic: Newton Pyramid Stack
- Replies: 0
- Views: 1265
Newton Pyramid Stack
Hi, I created another newton && irrlicht && irrKlang demo. With this demo you can create multiple pyramid's and blow it into peaces with a shot of a sphere using the left mouse button. I used for this demo: Newton version 2.0 beta 17; Irrlicht version svn (don't remember which svn tr...
- Fri Aug 15, 2008 9:30 am
- Forum: Code Snippets
- Topic: test
- Replies: 0
- Views: 737
test
test
- Fri Aug 15, 2008 8:26 am
- Forum: Code Snippets
- Topic: Newton Pyramid Stack
- Replies: 0
- Views: 592
Newton Pyramid Stack
Hi, I created another newton && irrlicht && irrKlang demo. With this demo you can create a pyramid and blow it into peaces with a shot of a sphere using the left mouse button. I used for this demo: Newton version 2.0 beta 17; Irrlicht version svn (don't remember which svn trunk); Irr...
- Fri Aug 15, 2008 8:22 am
- Forum: Code Snippets
- Topic: Newton Pyramid Stack
- Replies: 0
- Views: 531
Newton Pyramid Stack
Hi, I created another newton && irrlicht && irrKlang demo. With this demo you can create a pyramid and blow it into peaces with a shot of a sphere using the left mouse button. I used for this demo: Newton version 2.0 beta 17; Irrlicht version svn (don't remember which svn trunk); Irr...
- Thu Aug 14, 2008 10:51 pm
- Forum: Code Snippets
- Topic: test
- Replies: 0
- Views: 718
test
test
- Thu Aug 14, 2008 10:39 pm
- Forum: Code Snippets
- Topic: Newton Pyramid Stack
- Replies: 0
- Views: 640
Newton Pyramid Stack
Hi, I created another newton && irrlicht && irrKlang demo. With this demo you can create a pyramid and blow it into peaces with a shot of a sphere. I used for this demo: Newton version 2.0 beta 17; Irrlicht version svn (don't remember which svn trunk); IrrKlang version 1.1.0; A few s...
- Mon Aug 11, 2008 9:16 am
- Forum: Beginners Help
- Topic: Newton physics help (objects goes through each others)
- Replies: 1
- Views: 243
Hi, You need a callback function to check for collisions. Put this line above your main() function: static void PhysicsSetTransform(const NewtonBody* body); When you create the scene nodes, you need to register the callback function for that scene node like you did for the NewtonBodyDestructor like ...
- Sat Aug 09, 2008 2:19 pm
- Forum: Beginners Help
- Topic: Rotate camera based on player's target
- Replies: 0
- Views: 393
Rotate camera based on player's target
Hi, How can I rotate the camera based on the direction the player is looking at from a constant distance? This is the code i got so far: void rotate(vector3df rot, ISceneNode* box) { matrix4 m; m.setRotationDegrees(box->getRotation()); matrix4 n; n.setRotationDegrees(rot); m *= n; box->setRotation(m...
- Fri Aug 08, 2008 4:29 pm
- Forum: Beginners Help
- Topic: rotate node based on mouse pos
- Replies: 2
- Views: 748
- Thu Aug 07, 2008 10:07 pm
- Forum: Beginners Help
- Topic: rotate node based on mouse pos
- Replies: 2
- Views: 748
rotate node based on mouse pos
Hi,
How can I rotate a node around it's Y-axis based on the position of the mouse?
For example, if I mouse the mouse to the left, I want the node rotate on it's Y-axis to the right.
Thanks in advance!
How can I rotate a node around it's Y-axis based on the position of the mouse?
For example, if I mouse the mouse to the left, I want the node rotate on it's Y-axis to the right.
Thanks in advance!
- Mon Aug 04, 2008 12:01 pm
- Forum: Code Snippets
- Topic: Irrlicht & Newton & IrrKlang (updated 07-08-2008)
- Replies: 0
- Views: 1435
Irrlicht & Newton & IrrKlang (updated 07-08-2008)
Hi, I made a small demo with irrlicht and newton. For irrlicht i used the latest svn version which is 1.5. For newton i used version 2 beta 16, which you can get if you pm Julio at newtondynamics.com. Here is the project: http://yustme.g0dsoft.com/Projects/Irrlicht&Newton/NewtonIrrlicht.rar Add ...