Announcement

Collapse
No announcement yet.

Rotating Camera

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Rotating Camera

    Hi
    im trying to make a camera that rotates around a table. Ive managed to get it to work in steps by following tutorials. The problem is
    i dont want it to move one step at a time each time button is pressed. I want it to keep rotating smoothly while the button is being held down.
    Ive tried adding while loops that keep updating the rotation while the button is pressed but that crashes the simulation.
    Anyone know how i can do this?
    Thanks in advance.
    Attached Files

    #2
    Use the Event Tick to rotate the camera if the key is being pressed. You will need to use Delta Seconds(time passed in seconds from the last tick event) to setup how many times per second you want Rotate to be called.

    Click image for larger version

Name:	SS.png
Views:	6
Size:	156.8 KB
ID:	1456244

    Comment


      #3
      Thank you!!! Got it working

      Comment

      Working...
      X