Search found 36 matches
- Sat May 15, 2010 10:01 am
- Forum: Developers' Journals
- Topic: Rocket-Ticket Questionthread (... haha)
- Replies: 56
- Views: 72690
Re: Rocket-Ticket Questionthread (... haha)
Okay now I'm trying to give the rocketcontroller a target (from within the NewHumanController to use the rayquery which needs the camera of the controller). But how can I access the Functions of the newHumanController from within the rocketcontroller (or other way round, it wouldn't matter) ? any Id...
- Sat May 15, 2010 9:36 am
- Forum: Developers' Journals
- Topic: Rocket-Ticket Questionthread (... haha)
- Replies: 56
- Views: 72690
Re: Rocket-Ticket Questionthread (... haha)
Aah ... it seems that at one time (I don't know when) I accidentally deleted the content of the tickfunction. *facepalm*
Well now that works, it spawns, gets controlled, uses those commands and get's destroyed.
Well now that works, it spawns, gets controlled, uses those commands and get's destroyed.
- Fri May 14, 2010 9:35 pm
- Forum: Developers' Journals
- Topic: Rocket-Ticket Questionthread (... haha)
- Replies: 56
- Views: 72690
Re: Rocket-Ticket Questionthread (... haha)
i want to apply the steering commands withing the controller, not the rocket.
with despawn i mean: disappear, so that the rockets aren't visible anymore
with despawn i mean: disappear, so that the rockets aren't visible anymore
- Fri May 14, 2010 10:41 am
- Forum: Developers' Journals
- Topic: Rocket-Ticket Questionthread (... haha)
- Replies: 56
- Views: 72690
Re: Rocket-Ticket Questionthread (... haha)
Ok the rocket now explodes when colliding with an asteroid (or with a drone too) but it does not despawn afterwords. And the Controller doesn't control the rocket, I don't seem to get why. Does the rocket need a specific tick-function to be able to do what the controller "tells it" to do? at the mom...
- Fri May 14, 2010 10:01 am
- Forum: Developers' Journals
- Topic: Rocket-Ticket Questionthread (... haha)
- Replies: 56
- Views: 72690
Re: Rocket-Ticket Questionthread (... haha)
sorry for not being there on monday, I didn't feel well.
Will be there next monday. Again sorry.
Will be there next monday. Again sorry.
- Fri May 07, 2010 5:15 pm
- Forum: Developers' Journals
- Topic: Rocket-Ticket Questionthread (... haha)
- Replies: 56
- Views: 72690
Re: Rocket-Ticket Questionthread (... haha)
hmm I can't find this file... (orxonox_crash.log).
Right now I am looking for references to the controller.
When I construct the controller in the function SimpleRocketFire.fire() I use a pointer but this pointer isn't existing anymore later is it? (I'm a bit confused )
Right now I am looking for references to the controller.
When I construct the controller in the function SimpleRocketFire.fire() I use a pointer but this pointer isn't existing anymore later is it? (I'm a bit confused )
- Fri May 07, 2010 2:15 pm
- Forum: Developers' Journals
- Topic: Rocket-Ticket Questionthread (... haha)
- Replies: 56
- Views: 72690
Re: Rocket-Ticket Questionthread (... haha)
Ok I ran into the next problem.
When i invoke "destroy()" from the Simplerocket (or from the rocketcontroller) orxonox crashes.
If I don't invoke destroy() the rocket doesn't get destructed even though it crashes with things (e.g. a drone) and explodes.
When i invoke "destroy()" from the Simplerocket (or from the rocketcontroller) orxonox crashes.
If I don't invoke destroy() the rocket doesn't get destructed even though it crashes with things (e.g. a drone) and explodes.
- Mon May 03, 2010 11:45 am
- Forum: Developers' Journals
- Topic: Rocket-Ticket Questionthread (... haha)
- Replies: 56
- Views: 72690
Re: Rocket-Ticket Questionthread (... haha)
okay the first step is done. The rocket spawns near the spaceship.
I'll post again if I get stuck (and I'm sure I will ...)
thanks again
I'll post again if I get stuck (and I'm sure I will ...)
thanks again
- Mon May 03, 2010 10:04 am
- Forum: Developers' Journals
- Topic: Rocket-Ticket Questionthread (... haha)
- Replies: 56
- Views: 72690
Re: Rocket-Ticket Questionthread (... haha)
cool. For me up to now the important thing has been to get the rocket to spawn. Now that that works I hope I can progress faster
thank you very much
thank you very much
- Sun May 02, 2010 9:03 pm
- Forum: Developers' Journals
- Topic: Rocket-Ticket Questionthread (... haha)
- Replies: 56
- Views: 72690
Re: Rocket-Ticket Questionthread (... haha)
ah now Orxonox can start again.
but the rocket still isn't visible after constructing it (controller as well as rocket get successfully constructed as well as destroyed when going back to the mainmenu.
but the rocket still isn't visible after constructing it (controller as well as rocket get successfully constructed as well as destroyed when going back to the mainmenu.
- Sun May 02, 2010 7:54 pm
- Forum: Developers' Journals
- Topic: Rocket-Ticket Questionthread (... haha)
- Replies: 56
- Views: 72690
Re: Rocket-Ticket Questionthread (... haha)
ah yes I wanted to use something like
but it tells me I cannot access this private variable.
I used
but Orxonox still crashes while starting...
Code: Select all
if( this->controller_ ) delete this->controller_
I used
Code: Select all
if (this->hasLocalController()) delete this->getController();
- Sun May 02, 2010 11:35 am
- Forum: Developers' Journals
- Topic: Rocket-Ticket Questionthread (... haha)
- Replies: 56
- Views: 72690
Re: Rocket-Ticket Questionthread (... haha)
ah that with the output is a good idea, why didn't I think of this? If I try to destroy the controller of the simplerocket in the destructor of the simplerocket (delete this->getController()) then orxonox cannot start, it seems to destroy one SimpleRocket while starting... again i've attached a scre...
- Sat May 01, 2010 4:17 pm
- Forum: Developers' Journals
- Topic: Rocket-Ticket Questionthread (... haha)
- Replies: 56
- Views: 72690
Re: Rocket-Ticket Questionthread (... haha)
i changed that but still no rocked is visible.
I just tried to go back to the main menu for the first time after trying the "rocket" and orxonox crashes while trying to destroy the RocketController.
I attached a screenshot of the commandline output.
I just tried to go back to the main menu for the first time after trying the "rocket" and orxonox crashes while trying to destroy the RocketController.
I attached a screenshot of the commandline output.
- Sat May 01, 2010 12:57 pm
- Forum: Developers' Journals
- Topic: Rocket-Ticket Questionthread (... haha)
- Replies: 56
- Views: 72690
Re: Rocket-Ticket Questionthread (... haha)
no i changed that. the rocket does nothing but initialize some default values.
the rocketfire should create a controller and the controller should create the rocket...
the rocketfire should create a controller and the controller should create the rocket...
- Sat May 01, 2010 10:39 am
- Forum: Developers' Journals
- Topic: Rocket-Ticket Questionthread (... haha)
- Replies: 56
- Views: 72690
Re: Rocket-Ticket Questionthread (... haha)
ah yes doing it in this file resolves the access problems.
It now compiles without errors, but when invoking the "Rocketfire" (which creates a new rocketcontroller) nothing happens ingame.
It now compiles without errors, but when invoking the "Rocketfire" (which creates a new rocketcontroller) nothing happens ingame.