Search found 71 matches
- Tue Jul 31, 2007 3:23 pm
- Forum: Advanced Help
- Topic: Zombies sharing triangle selector???
- Replies: 18
- Views: 1241
- Mon Jul 23, 2007 3:07 pm
- Forum: Advanced Help
- Topic: Zombies sharing triangle selector???
- Replies: 18
- Views: 1241
Zombies sharing triangle selector???
My zombies!!! Bad zombies. They appear to be sharing a triangle selector, either that or because they all come from the same mesh, the auto generation that happens from the bounding box triangle selector seems to be making them share. Here is the symptom: When zombies have no corpse(ie they go from ...
- Fri Jul 20, 2007 9:29 pm
- Forum: Beginners Help
- Topic: Example Bullet Code, needs 1 last issue figured out
- Replies: 3
- Views: 537
- Fri Jul 20, 2007 3:34 pm
- Forum: Beginners Help
- Topic: Example Bullet Code, needs 1 last issue figured out
- Replies: 3
- Views: 537
Example Bullet Code, needs 1 last issue figured out
I thought I would share my projectile code with people and hopefully somebody will also have an idea why about 10-20% of the time bullets seem to be able to go through an enemy without a collision detected. You will have to modify this depending on your model domain, as this uses all my game classes...
- Fri Jul 20, 2007 1:18 am
- Forum: Beginners Help
- Topic: stringw, how to get its guts
- Replies: 3
- Views: 550
- Thu Jul 19, 2007 4:35 pm
- Forum: Beginners Help
- Topic: stringw, how to get its guts
- Replies: 3
- Views: 550
stringw, how to get its guts
Why does stringw have: c_str but no w_str? How am I supposed to pass its data to a function such as: font->draw(wchar*.... Whats the point of a wchar wrapper if you can't get to the wchars easily? I could convert it to a char* and then convert it back to a wchar* with some other function but I would...
- Thu Jul 19, 2007 4:27 pm
- Forum: Beginners Help
- Topic: Bounding box ignores scale?
- Replies: 3
- Views: 235
- Thu Jul 19, 2007 3:06 pm
- Forum: Beginners Help
- Topic: Bounding box ignores scale?
- Replies: 3
- Views: 235
Bounding box ignores scale?
Is getBoundingBox supposed to ignore scale?
I looked at the code and it appears to just use the mesh's bounding box. In debug, I get numbers from that function that are not scaled.
Is this intended. I can multiply the scale myself but just making sure I am not missing something.
I looked at the code and it appears to just use the mesh's bounding box. In debug, I get numbers from that function that are not scaled.
Is this intended. I can multiply the scale myself but just making sure I am not missing something.
- Wed Jul 18, 2007 3:29 pm
- Forum: Beginners Help
- Topic: Disconnecting SceneNode from scene
- Replies: 1
- Views: 207
Disconnecting SceneNode from scene
Is there a good way to have a scene node ready in memory, but not put into the scene until a later time. I tried setting the parent to null but that borked things up with setVisible, probably other things too. I just don't want the node considered for things like collisions etc but I want it to be i...
- Mon Jul 16, 2007 4:03 pm
- Forum: Beginners Help
- Topic: Spherical to Euler Conversions
- Replies: 2
- Views: 174
If you are doing what I think your saying, then these 2 helper functions may work for you. You will have to reindent them in your editor vector3df convertRotationToFacing(vector3df rotation) { matrix4 mat; mat.setRotationDegrees(vector3df( rotation.X, rotation.Y,0)); vector3df t(0,0,1); mat.transfor...
- Mon Jul 16, 2007 3:36 pm
- Forum: Beginners Help
- Topic: Multiple textures
- Replies: 4
- Views: 544
Wow thanks, that was something I had completly missed in all my time working on this ;) It works perfectly now. Here is a code snipper of a helper function i made if anyone wants it. I need to convert from std strings to irrlicht ones but other then that its fine. void applyTextures(ISceneNode* scen...
- Mon Jul 16, 2007 1:16 am
- Forum: Beginners Help
- Topic: Multiple textures
- Replies: 4
- Views: 544
Multiple textures
I have a model of a gun and hands and it has 4 texture files that go with it. I was trying to figure out how to put more then one texture on it, but using the layers, only the top one shows. Is there any info on how you assign 4 textures, and how they correctly know where to go on the model? If i pu...
- Fri Jul 13, 2007 5:59 pm
- Forum: Advanced Help
- Topic: modifying engine scene node picking
- Replies: 5
- Views: 674
Thanks, that is exactly the kinda thing I was thinking of doing. I've been posting a bunch lately, its because I have been making a newton irrlicht game engine thingy. There are already some out there but I am aiming for this to be more full. So far i have support for monsters, weapons, bullets, phy...
- Fri Jul 13, 2007 5:51 pm
- Forum: Advanced Help
- Topic: getSceneNodeFromRay question
- Replies: 2
- Views: 409
Ok thanks for the input. If your still around I have another question. This one is about 3d models in general as I am comming from a java telcom background I am way out of touch :) I got a gun model from: http://files.filefront.com/P220zip/;1243349;;/fileinfo.html It has a nice gun in it and I notic...
- Fri Jul 13, 2007 2:08 pm
- Forum: Advanced Help
- Topic: getSceneNodeFromRay question
- Replies: 2
- Views: 409
getSceneNodeFromRay question
I was looking more carefully at what the code does in this guy. From my limited understanding it looks like it just looks for a collision between the ray and a box around the scene node. If that is correct then its not a very accurate way to check for bullet hits. Also if it is correct, I am not sur...