I have a strange question what is the difference when keeping a key pressed or pressing then releasing the key? there is a definite difference and how can i make it so a random sensor will work like keeping a key pressed?
digiman
I have a strange question what is the difference when keeping a key pressed or pressing then releasing the key? there is a definite difference and how can i make it so a random sensor will work like keeping a key pressed?
digiman
This great site of chtames answers you:
http://www.tutorialsforblender3d.com/GameDoc/LogicBricks/Sensors_2.html
Bye
Hmmmm I think I understand what you mean, you want the same effect as when you change the duration value on a delay sensor.
The only way I could think of doing that, is if every time the random sensor sends a tick, it would change a property to True. Then add another string of logic bricks that do what you want based on when that property is True.
You could then add a state that is added every time the random sensor is triggered, that sets the property to False after a certain time.
yeah, but what you suggest is way too complicated for me right now, but i am getting better
digiman
“keeping a key pressed or pressing then releasing the key” is the same!
I think what you meant is how to simulate a key press with random duration, isn’t it?
Isn’t there a ‘triggered’ function and a ‘positive’ one?
Fir example when my objects turn an action is triggered along with a motion for that action when keeping a key pressed i can release it when i want to but if i use a random actuator it will make the object turn more than i might want so i am trying to add a delay or several delays with the random to get the duration i want
digiman