Search found 16 matches

by TJBaldy
Sat Apr 21, 2012 7:02 pm
Forum: Beginners Help
Topic: irrklang 3d sound position
Replies: 2
Views: 341

Re: irrklang 3d sound position

Woopsy. Thanks for the tip. Will try those forums now.
by TJBaldy
Sat Apr 21, 2012 6:33 pm
Forum: Beginners Help
Topic: irrklang 3d sound position
Replies: 2
Views: 341

irrklang 3d sound position

I've searched google and these forums without any good specific answer which was strange. Anyway, I'm trying to add a water sound effect to a fountain I've got in my game but I'm having all sorts of trouble with it. When I use;   irrklang::vec3df position(5000,0,3500); ISound* waterSound = engine->p...
by TJBaldy
Thu Jan 19, 2012 6:22 pm
Forum: Beginners Help
Topic: Position my Maya Camera [SOLVED]
Replies: 4
Views: 253

Re: Position my Maya Camera.

hendu wrote:The Maya cam is weird like that, you can't control its precise position. It picks a position based on the target and zoom.
Thanks, your advice fixed the problem. I've just changed the maya camera to a FPS camera and now my code works exaclty as I wanted :D.

Kudos!
by TJBaldy
Thu Jan 19, 2012 5:24 pm
Forum: Beginners Help
Topic: Position my Maya Camera [SOLVED]
Replies: 4
Views: 253

Re: Position my Maya Camera.

Well I thought setting my target to my node (3D model on the level) would make the camera look down towards it. Instead, the camera just positions itself next to the node and doesn't start in the sky looking down.

And could you elaborate on your comment please?

Thanks, Tom
by TJBaldy
Thu Jan 19, 2012 5:14 pm
Forum: Beginners Help
Topic: Position my Maya Camera [SOLVED]
Replies: 4
Views: 253

Position my Maya Camera [SOLVED]

Thought it would be simple enough but my code doesn't work. This is what I've got; if(maya_camera) { maya_camera->setPosition(core::vector3df(4000,4000,4000)); maya_camera->setTarget(core::vector3df(target)); } The idea is to be a "from sky view" camera looking at my level. It's probably r...
by TJBaldy
Mon Jan 09, 2012 3:05 pm
Forum: Beginners Help
Topic: KeyEventReceiver equals true from execution.
Replies: 1
Views: 143

KeyEventReceiver equals true from execution.

As the topic states.. My event receiver equals true from the start. Originally this created a problem with movement code I had. But I decided to leave this out as it wasn't too important. And now I need some Key Presses for things like exit the screen and switching between two different cameras. Her...
by TJBaldy
Mon Jan 09, 2012 2:21 pm
Forum: Beginners Help
Topic: Best way to add multiple models [SOLVED]
Replies: 6
Views: 887

Re: Best way to add multiple models.

Yeh I meant 3D engine... Thanks again for everyone's help :D
by TJBaldy
Fri Jan 06, 2012 1:51 pm
Forum: Beginners Help
Topic: Optimizing collision detection code
Replies: 4
Views: 437

Re: Optimizing collision detection code

You can batch those 4 meshes into 1 mesh using the BatchingMesh (http://irrext.svn.sourceforge.net/viewvc/irrext/trunk/extensions/scene/IMesh/CBatchingMesh/) And create a single octree triangle selector. Unless you have a different collision response for each fench you can still use 1 triangle sele...
by TJBaldy
Fri Jan 06, 2012 1:20 pm
Forum: Beginners Help
Topic: Optimizing collision detection code
Replies: 4
Views: 437

Optimizing collision detection code

Hey, So I've implemented some collision code into my game but my FPS drops a fair bit and I'm guessing it's the way I've implemented it. I'm currently doing it the same way the terrain tutorial does the terrain itself, for each individual object (e.g. 4 different fences). So at the moment I'm duplic...
by TJBaldy
Wed Dec 28, 2011 1:50 pm
Forum: Beginners Help
Topic: Moving my character
Replies: 6
Views: 518

Re: Moving my character

Ok ignore my stupidity, I just realised that I was using the Y values to change the direction of the node which is why it's going upwards, not because of the bug. However, the bug still exists. I've changed the Y values to Z's now so thats ok. I've noticed that when I try and control the node myself...
by TJBaldy
Wed Dec 28, 2011 1:41 pm
Forum: Beginners Help
Topic: Moving my character
Replies: 6
Views: 518

Re: Moving my character

1. Does it happen with the binary which comes with the SDK too? 2. Does it happen when you compile example 4 without changes? 3. Make sure you didn't forget the constructor of MyEventReceiver which initializes all booleans to false:   MyEventReceiver() {         for (u32 i=0; i<KEY_KEY_CODES_COUNT;...
by TJBaldy
Tue Dec 27, 2011 6:00 pm
Forum: Beginners Help
Topic: Moving my character
Replies: 6
Views: 518

Re: Moving my character

Thanks for the quick reply. Do you mean use a breakpoint and use f9? Well I entered a breakpoint and it seems that you were right and it's true. Could I get round this problem by making the receiver false by default?
by TJBaldy
Tue Dec 27, 2011 5:43 pm
Forum: Beginners Help
Topic: Moving my character
Replies: 6
Views: 518

Moving my character

So I'm trying to implement the movement code from tutorial 4 into my own game, so that I can move my character forwards, left, etc etc. But for some reason the node (character) is moving by himself without any key pressing. Not sure what I've done wrong as I've compared my code to the tutorials code...
by TJBaldy
Mon Dec 12, 2011 8:29 pm
Forum: Code Snippets
Topic: WoW like camera control & character movement (work in pr
Replies: 13
Views: 11757

Re: WoW like camera control & character movement (work in pr

I know this thread is years old but I was wondering if anyone with a bit of experience could help with this code? Because this camera seems pretty sweet if I could get it to work. I've got it down to one error but not sure how to fix it: IntelliSense: object of abstract class type "MyEventRecei...
by TJBaldy
Mon Dec 05, 2011 6:45 pm
Forum: Beginners Help
Topic: Best way to add multiple models [SOLVED]
Replies: 6
Views: 887

Re: Best way to add multiple models.

Thanks for the replies guys. I've managed to work out how to add multiple objects of the same item by playing around with the code. I added three tree objects using the same mesh :). My project is part of a University Degree and the course is about using a game engine so unfortunately I can't just g...