Game Development Community

DustEmitter

by Stephane Savioz · in Torque Game Engine · 09/27/2004 (11:47 pm) · 7 replies

I want to set the dustEmitter to null in Player.cs

I've tried

dustEmitter = NULL;

but it doesn't seem to work.

what is the correct syntax ?

#1
09/28/2004 (2:08 am)
//dustEmitter = NULL;
#2
09/28/2004 (3:09 am)
Gonzo,

and now a smart answer..maybe ?
#3
09/28/2004 (3:14 am)
That is a smart answer..

I do not have the code infront of me, but if I recall the engine code sets the DB's to NULL. If you do not set them
via script or hardwired in engine code then they stay null.

-Ron
#4
09/28/2004 (4:37 am)
Oh, My bad....

Quote:

what is the correct syntax ?




The correct syntax would be....



//dustEmitter = NULL;


Or you could use.....

		
#5
09/28/2004 (5:50 am)
Gonzo,

don't waste your time...

Ron Yacketta explained everything

you are really a clown !
#6
09/28/2004 (8:07 am)
Stephane,

What Gonzo showed you was the correct way to not have the dustEmitter show up. What is with the flames man? If you want people to help you in the future I suggest you watch what you say, otherwise people will just stop posting in your threads.
#7
06/04/2010 (8:35 pm)
Did they recently change this ?
I used dustEmitter = NULL; in the datablock PlayerData(PlayerBody)

Perhaps I have the wrong location?

the console shows:
Could not register dust emitter for class: PlayerBody
Could not register dust emitter for class: PlayerBody
Could not register dust emitter for class: PlayerBody