How do you use the left/right stick value's in the game variable data source?? i have a right stick horizontal value, a generic filter set to 'equals' with first comparison value being the right stick variable data source, and 2nd comparison value being '3', as it says values are -3...3. the true impulse goes to a set value of 20 connected to the angular motor of a rotational hinge, the false value setting it to 0..i test track and when i move the right stick NOTHING happens..ive tried so many different way and i am not new this level editor at all, i just cant figure this out. please help!
also is there anyway to show the icons of the data sources etc when u test track so u can watch everything change?
Most likely you haven't set up a 1 tick interval trigger whose impulses go to the filter.
None of the other components you are using produce an impulse on their own.
press start when you are testing the track, then enable editor icons.Originally Posted by DAstpNK
No sir i have not..could you explain further? what im trying to do is adjust something depending on the the "pressure" of the stick.Originally Posted by EuphoricFusion
dude your the best! i know i've seen this before but could not find it again hahaOriginally Posted by xIronWarlordx
Basically, all a filter does is direct an impulse to an even based on facts it's givenOriginally Posted by DAstpNKn this case, it's comparing 2 numbers), it does not produce impulses itself. So to be of any use, it needs to have a way to recieve impulses.
A (Rather bad) analogy is to think of the impulses as running water, the filters as floodgates, and the events as water-wheels.
...Okay, that was pretty terrible. Anyway, like EF said, an interval trigger will work fine. Just have it directed to send impulses to the filter.
What EF means is that moving the stick only changes the value the filter is looking for. When the filter sees 3=3 it lets an impulse through, but you have no impulse.
As EF says, get an interval trigger set to 1 tick and send the impulse to the filter, then when you move the right stick it will let the impulse through to the set value event and your hinge should work.
Edit: Yeah, ^ what he said![]()
so do i put this interval trigger set to 1 tick repeating over an over as fast as possible? seems to be the only way it lets the impulse through is if the filter is receiving an impulse at the time the filter meets my requirements (-3 = -3)
Can you post a pic of your setup?
It will be easier to see where it's going wrong and I can give clear instructions.
i think i got it! i have a interval trigger constantly sending impulses to the filter every .16 seconds, when the filter meets requirements it allows impulse to reach event..but heres my new problem..im using a OPE on a moving physics object but when the OPE is enabled it locks movement..anyway around this?Originally Posted by EuphoricFusion