Page 1 of 1

how do I change the force of an engine with a laser?

PostPosted: Sat Oct 10, 2009 12:18 am
by Renato7000
as I do for the longer or more if approaching an obstacle, to the laser to change the force of an engine?

the more the laser is close / over time the laser detects an obstacle, the stronger the hinge is

sorry the language, but I'm using the translator of google, so do not try to understand 100% :problem:

if you do not understand me explain what I was trying to write here in more ways translator to see if one of them you understand

could put more pretty faces in this forum, they are ugly lol :wtf:

thx

©2009 Google translator

Re: how do I change the force of an engine with a laser?

PostPosted: Sat Oct 10, 2009 2:04 am
by standardtoaster
Do you want to have it change the strength of a hinge the farther away the laser is?

Re: how do I change the force of an engine with a laser?

PostPosted: Sat Oct 10, 2009 3:29 am
by Renato7000
otherwise, I want to change the strength the closer the laser is

©2009 Google Translator

Re: how do I change the force of an engine with a laser?

PostPosted: Sat Oct 10, 2009 5:38 am
by standardtoaster
Rating: rated 5
Filesize: 14.36 kB
Comments: 1
Ratings: 1
download

Is this what you wanted?

Re: how do I change the force of an engine with a laser?

PostPosted: Sat Oct 10, 2009 4:56 pm
by Renato7000
yes, that is, but has the power to increase faster?

thx :thumbup:

©2009 Google Translator

Re: how do I change the force of an engine with a laser?

PostPosted: Sun Oct 11, 2009 12:34 am
by standardtoaster
You want me to also be able to make it increase speed? I can do that.

Re: how do I change the force of an engine with a laser?

PostPosted: Sun Oct 11, 2009 1:31 am
by Renato7000
not increase the speed, so I already know, but I want him to grow more powerful when I get close, you did not increase much strength, I want more, as I do?

©2009 Google Translator

Re: how do I change the force of an engine with a laser?

PostPosted: Sun Oct 11, 2009 1:59 am
by standardtoaster
(e)=>{
Scene.my.strength = 50 - Scene.my.dist(Scene.my.laserpos, e.pos) / 0.25; Scene.my.strength <= 0 ? {Scene.my.strength = 0} : {Scene.my.strength = Scene.my.strength} }

Change the 0.25 in the script to whatever value you want. The smaller the decimal number the faster it will increase.

Rating: rated 5
Filesize: 14.36 kB
Comments: 1
Ratings: 1
download

There's the scene.

BTW could you please tell me what language is your main? It might be easier for me to give you what you want. I'll type it in english and then translate it to your language. It might make it easier. :/

Re: how do I change the force of an engine with a laser?

PostPosted: Sun Oct 11, 2009 3:49 am
by Renato7000
PERFECT!!!

Thanks very much!!!! :P

Re: how do I change the force of an engine with a laser?

PostPosted: Sun Oct 11, 2009 3:52 am
by standardtoaster
You're welcome! :thumbup: I hope that you understood what I meant about changing how fast it can increase.

Re: how do I change the force of an engine with a laser?

PostPosted: Sun Oct 11, 2009 3:54 am
by Renato7000
"BTW could you please tell me what language is your main? It might be easier for me to give you what you want. I'll type it in english and then translate it to your language. It might make it easier. :/"

LOL
really :wtf:


Yes, I understand
thank you very much

Re: how do I change the force of an engine with a laser?

PostPosted: Sun Oct 11, 2009 3:57 am
by standardtoaster
nvm. I just realized that you might be translating the english into whatever language you speak. :/ Sorry. If you need anymore help just ask. :thumbup: