How do I tell a billboard scene node to only rotate to face the camera on one axis? Or do I have to write my own rotation calculation code for this?
Thanks,
mtbal
Search found 9 matches
- Tue Sep 01, 2009 1:01 pm
- Forum: Beginners Help
- Topic: single axis rotation billboard
- Replies: 2
- Views: 173
- Fri Aug 28, 2009 9:54 pm
- Forum: Beginners Help
- Topic: load a mesh from file then convert to terrain scene node??
- Replies: 7
- Views: 427
Why?
first things first, WHY??
next, I don't think it can be done. the mesh that TerrainSceneNode uses is created from a height map, and you can't really convert a mesh to a height map. Theoretically you could go vise-versa.
next, I don't think it can be done. the mesh that TerrainSceneNode uses is created from a height map, and you can't really convert a mesh to a height map. Theoretically you could go vise-versa.
- Fri Aug 28, 2009 3:32 pm
- Forum: Beginners Help
- Topic: pong
- Replies: 4
- Views: 351
There will be three steps to making this. 1)Get all your graphics going. This could be as simple as a black screen, a white circle, and a block for a paddle. 2)Get the ball and paddle moving. See below* 3)Make it check to see if the ball misses the paddle. That's the bare necessities, other things c...
- Fri Aug 28, 2009 12:03 am
- Forum: Beginners Help
- Topic: Rotate node reletive to landscape
- Replies: 4
- Views: 277
*best* way is a physics way - have 4 (3 would do) points which represent the corners of the tank, each one responding to gravity and checking for collisions with the terrain, then use some simple math to calculate the angle they're making with each other and set the tank to match. Of course, you wo...
- Thu Aug 27, 2009 11:17 pm
- Forum: Beginners Help
- Topic: Rotate node reletive to landscape
- Replies: 4
- Views: 277
Maybe I should re-phrase this?
Okay, Maybe I should re-phrase this. The tank won't drive up the hill because the angle is too steep. If the tank is rotated so that the front end is up in the air, it will drive up the hill. How do I make the tank always rotate itself so that it is driving parallel with the ground. Always. Any idea...
- Thu Aug 27, 2009 6:19 pm
- Forum: Beginners Help
- Topic: Rotate node reletive to landscape
- Replies: 4
- Views: 277
Rotate node reletive to landscape
I have a node (the tank in the foreground of the screen shot) that I would like to rotate the pitch relative to the landscape. You can see the obvious problem in the screen shot picture. The landscape is an "AnimatedMesh" even though it's not animated. I modleded it elsewhere. I am running...
- Wed Aug 26, 2009 10:05 pm
- Forum: Beginners Help
- Topic: Key input in Irrlicht
- Replies: 5
- Views: 371
Re: Key input in Irrlicht
Thanks!!
- Wed Aug 26, 2009 9:25 pm
- Forum: Beginners Help
- Topic: Key input in Irrlicht
- Replies: 5
- Views: 371
- Wed Aug 26, 2009 8:47 pm
- Forum: Beginners Help
- Topic: Key input in Irrlicht
- Replies: 5
- Views: 371
Key input in Irrlicht
How do I get key input in Irrlicht? They do it in the Terrain tutorial, but that is when a key is tapped. I want it to check in the main loop to see if a key is pressed, and then do my code. (I'm trying to make it so that when I hold a key down, the node is rotated.) BTW this is in C#. But I can pro...