how do I change the force of an engine with a laser?
12 posts • Page 1 of 1
how do I change the force of an engine with a laser?
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%
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
thx
©2009 Google translator
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%
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
thx
©2009 Google translator
- Renato7000
- Posts: 9
- Joined: Sat Oct 10, 2009 12:09 am
Re: how do I change the force of an engine with a laser?
Do you want to have it change the strength of a hinge the farther away the laser is?
-
standardtoaster - Posts: 606
- Joined: Mon Aug 31, 2009 7:57 pm
Re: how do I change the force of an engine with a laser?
otherwise, I want to change the strength the closer the laser is
©2009 Google Translator
©2009 Google Translator
- Renato7000
- Posts: 9
- Joined: Sat Oct 10, 2009 12:09 am
Re: how do I change the force of an engine with a laser?
Is this what you wanted?
-
standardtoaster - Posts: 606
- Joined: Mon Aug 31, 2009 7:57 pm
Re: how do I change the force of an engine with a laser?
yes, that is, but has the power to increase faster?
thx
©2009 Google Translator
thx
©2009 Google Translator
- Renato7000
- Posts: 9
- Joined: Sat Oct 10, 2009 12:09 am
Re: how do I change the force of an engine with a laser?
You want me to also be able to make it increase speed? I can do that.
-
standardtoaster - Posts: 606
- Joined: Mon Aug 31, 2009 7:57 pm
Re: how do I change the force of an engine with a laser?
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
©2009 Google Translator
- Renato7000
- Posts: 9
- Joined: Sat Oct 10, 2009 12:09 am
Re: how do I change the force of an engine with a laser?
(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.
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. :/
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.
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. :/
-
standardtoaster - Posts: 606
- Joined: Mon Aug 31, 2009 7:57 pm
Re: how do I change the force of an engine with a laser?
PERFECT!!!
Thanks very much!!!!
Thanks very much!!!!
- Renato7000
- Posts: 9
- Joined: Sat Oct 10, 2009 12:09 am
Re: how do I change the force of an engine with a laser?
You're welcome! I hope that you understood what I meant about changing how fast it can increase.
-
standardtoaster - Posts: 606
- Joined: Mon Aug 31, 2009 7:57 pm
Re: how do I change the force of an engine with a laser?
"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
Yes, I understand
thank you very much
LOL
really
Yes, I understand
thank you very much
- Renato7000
- Posts: 9
- Joined: Sat Oct 10, 2009 12:09 am
Re: how do I change the force of an engine with a laser?
nvm. I just realized that you might be translating the english into whatever language you speak. :/ Sorry. If you need anymore help just ask.
-
standardtoaster - Posts: 606
- Joined: Mon Aug 31, 2009 7:57 pm
12 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests