Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark Physics & Dark A.I. & Dark Dynamix / how to set the entity line up in front of counter??

Author
Message
fumade
16
Years of Service
User Offline
Joined: 28th Oct 2008
Location:
Posted: 30th Jan 2009 07:21
Hey

I have try to use a method so called move the entities from one point to another. Very first, I set the entities move to end of the barrier then move to the counter...
But it failed...

This is my code



Thanks for your kindly helps...
fumade
16
Years of Service
User Offline
Joined: 28th Oct 2008
Location:
Posted: 31st Jan 2009 06:46
anyone can help me..Pls...
fumade
16
Years of Service
User Offline
Joined: 28th Oct 2008
Location:
Posted: 31st Jan 2009 09:01
anyone can tell me how to use AI GET ENTITY IN ZONE 1 ,1??
i tried as below but failed again...

fumade
16
Years of Service
User Offline
Joined: 28th Oct 2008
Location:
Posted: 31st Jan 2009 10:27
The previous one i have settle...
But anyone know how to stop the entities move for seconds before the entities start decide where to go...

Thanks...
fumade
16
Years of Service
User Offline
Joined: 28th Oct 2008
Location:
Posted: 8th Feb 2009 06:58
is that anyone know how to queue the entities? in my case is the 1st entities is stopped but the other at the back is keep on pushing. is that a way to stop that?or is that a way to scan the distance in front of the entities before the collision happen..?

i appreciate if there have someone willing to help me..

Thanks
fumade
16
Years of Service
User Offline
Joined: 28th Oct 2008
Location:
Posted: 8th Feb 2009 18:51
Come on..i really need somethings..
anyone could possible detect the distance in front of the entities, it could helps. or sth on the collision avoidance....

please..i need something to keep me progress..

Thanks and i really appreciate it.

Best Regards.
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 8th Feb 2009 19:05
this any good find the distance between two objects.

function ObjDistToObj(Obj1 , Obj2 )
dx# = object position x(Obj1) - object position x(Obj2)
dy# = object position y(Obj1) - object position y(Obj2)
dz# = object position z(Obj1) - object position z(Obj2)
dx# = dx# * dx#
dy# = dy# * dy#
dz# = dz# * dz#
Distn# = sqrt(dx# + dy# + dz#)
endfunction Distn#

Dark Physics makes any hot drink go cold.
fumade
16
Years of Service
User Offline
Joined: 28th Oct 2008
Location:
Posted: 9th Feb 2009 03:29
HowDo, I really appreciate on your helps.. Thanks..

obj1 and obj2??The problem is i dunno the arrangement of the entities. ID-1 in 1st or mayb ID-8 in 1st...the entities are entering the line up randomly.

Best Regards,
Fumade
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 9th Feb 2009 10:57
Well we know there all on the same level yes, so we do not need to worry about the Y value.

That leaves just x and Z to find, Find them all for each ID and then do a min max search to find out which one in nearest.

Dark Physics makes any hot drink go cold.
fumade
16
Years of Service
User Offline
Joined: 28th Oct 2008
Location:
Posted: 11th Feb 2009 15:00
Finally I have found a way to write it..

HowDo,Thanks for you idea..without your helps, i unable to code it.

Thanks..
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 11th Feb 2009 15:54
well done , dont forget to post something for the next person who uses the search box.

Dark Physics makes any hot drink go cold.

Login to post a reply

Server time is: 2024-11-24 19:19:37
Your offset time is: 2024-11-24 19:19:37