Jump to content

Crowd Combat


Guna

Recommended Posts

Hi Everyone,
I need help on crowd combat.
I have two groups standing opposite each other, both have the same number of points. Each point have a mapped target id in the other group.
I want each point move towards each other, 1)find there target  2) and attack them facing each other

went through this thread, but I dint have much success.
https://forums.odforce.net/topic/27054-pop-steer-seek-teleportationsnapping-issue/

I am trying to get target points location with this popwrangle expression, but its not working.

s@handle_path ="/obj/crowd_sim:crowdobject1/Geometry";
v@posTargetpoint = point(@handle_path,"P",i@targetid);  


and for heading as well. Any help is much appreciated. Thank you.

 

 

 

Edited by aaryanguna
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...