stopwatch
2 posts • Page 1 of 1
stopwatch
How can I make a stopwatch (say thing 1) that displays Sim.time all the time but stops when something hits another thing (say thing 2)?
- sunnyshi2005
- Posts: 7
- Joined: Wed Jun 14, 2017 3:33 am
Re: stopwatch
Don't use sim.time, use 1/sim.frequency instead
- Code: Select all
_time = 0;
something ? {_time = _time + 1 / sim.frequency}:{}
- Luezma
- Posts: 14
- Joined: Thu Dec 13, 2012 7:19 pm
- Location: Argentina
2 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 7 guests