Page 1 of 1

About floater problem...

Posted: Mon Mar 21, 2011 9:05 pm
by Dennis|8749236
Does this code:

Code: Select all

ObjectTemplate.addWorkOnMaterial 1
can work in floater?
i want a floater can float when it is on ground...

Re: About floater problem...

Posted: Tue Mar 22, 2011 6:14 pm
by Apache Thunder
No. This code pertains only to EffectBundles. It tells an effect bundle what material(s) (more then one can be used) will activate it on contact with a certain material. This code is commonly used on track/wheel dust effect used on vehicles when they drive around.

Re: About floater problem...

Posted: Tue Mar 22, 2011 11:25 pm
by SgtJake
Apache Thunder wrote:No. This code pertains only to EffectBundles. It tells an effect bundle what material(s) (more then one can be used) will activate it on contact with a certain material. This code is commonly used on track/wheel dust effect used on vehicles when they drive around.

so this would be used with example hovercrafts to make them make water splashes over water and dust on land?

Re: About floater problem...

Posted: Wed Mar 23, 2011 12:34 am
by Swaffy
Just use wheels, then make the wheels invisible.

Re: About floater problem...

Posted: Wed Mar 23, 2011 6:07 pm
by Apache Thunder
For effects intended to use on water, be sure to add "ObjectTemplate.moveToWaterSurface 1" to the emitters. It ensures they appear on the water plane and not under/above water. ;)

Re: About floater problem...

Posted: Wed Mar 23, 2011 10:18 pm
by Dennis|8749236
so theres no way to make a floater float on the ground...

Re: About floater problem...

Posted: Thu Mar 24, 2011 5:31 am
by Swaffy
Short story shorter: No.

Re: About floater problem...

Posted: Fri Mar 25, 2011 1:40 pm
by Dennis|8749236
thank you