Thread: facing object

Results 1 to 3 of 3
  1. #1 facing object 
    Registered Member
    Join Date
    May 2019
    Posts
    25
    Thanks given
    9
    Thanks received
    7
    Rep Power
    36
    Hai,
    How do i make the player face the object.
    below a video of what i mean. the player moves to object but it's not facing the object.
    tried allot but can't find a fix. can someone help me with this. thanks in advance.

    video: [Only registered and activated users can see links. ]
    Reply With Quote  
     

  2. #2  
    Registered Member
    TheChosenOne's Avatar
    Join Date
    Jan 2013
    Posts
    976
    Thanks given
    47
    Thanks received
    160
    Rep Power
    366
    Facing a direction or an entity is part of the player's update packet. Take a look there.
    The one for coordinates is the one with updateMask 2.
    The one for entities is the one with updateMask 1.
    My informative threads:
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  3. #3  
    Registered Thanker
    MrClassic's Avatar
    Join Date
    Oct 2008
    Age
    24
    Posts
    1,859
    Thanks given
    14,175
    Thanks received
    295
    Rep Power
    5000
    whatever source you're using it should be something like this where you handle clicking objects

    Code:
    c.turnPlayerTo(c.objectX, c.objectY);
    Thanks, MrClassic.

    [Only registered and activated users can see links. ]

    [Only registered and activated users can see links. ]
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. [508] Face object or coords
    By Himplx in forum Help
    Replies: 1
    Last Post: 05-29-2009, 06:34 AM
  2. Force face object?
    By Light Moger in forum Help
    Replies: 5
    Last Post: 05-25-2009, 07:05 PM
  3. [508] Facing object when walking away
    By Proffesor Oak in forum Help
    Replies: 6
    Last Post: 05-15-2009, 12:23 PM
  4. [EMULOUS]Facing objects Giving rep++
    By Darkie in forum Help
    Replies: 3
    Last Post: 03-24-2009, 07:38 PM
  5. [508] Facing Objects?
    By Virus X3 in forum Requests
    Replies: 7
    Last Post: 02-25-2009, 12:50 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •