Forum Discussion

Vidyuu's avatar
Vidyuu
MHCP Partner
6 months ago

Top Down View On Mobile & XS (Typescript Breakdown)

So this one is a biggy, it is 5 scripts:

  • Utility: Takes A Direction Vector And Snaps It To A 45 Degree Angle
  • Events: Creates Three Networked Events To Communicate With The Players LocalCamera
  • LocalScript: Each Player Has A Local Script, It Listens For Events On The Player, And Runs Code On The Players Device
  • Local Script Manager: Assigns Each Player A Local Script When They Enter The World By Transferring Ownership
  • Trigger: When Entered, Takes The Current Position Of The Player, Uses The Utility To Create An Orientation, Then Sends A Networked Event To The Player To Be Received By The LocalScript, Which Has A Local Method To Apply The Orientation In Focused Interaction Mode

https://youtu.be/LQZzIcm5CIw

 

No RepliesBe the first to reply