Timer with Line Trace #62
-
Is there a way to create a Timer that would pulse every 0.1 seconds, and have a line trace attached to an actor with a debug draw. I’ve read through the documentation, and don’t see these pieces exposed as of yet. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
A built-in timer implementation is not provided yet, but it's easy to implement a custom one using frame ticking. For line tracing see this functionality and just pass the position of an actor to it. To debug line tracing use |
Beta Was this translation helpful? Give feedback.
-
Hi, I got it to work. Is it possible to have multiple classes running. Instead of using a switch, I'd like these to run at the same time. C# Timer Class running in CLR
Make sure you end the timer prior to closing out.
|
Beta Was this translation helpful? Give feedback.
A built-in timer implementation is not provided yet, but it's easy to implement a custom one using frame ticking. For line tracing see this functionality and just pass the position of an actor to it. To debug line tracing use
Debug.DrawLine()
. Also, see this test.