Page 1 of 1
mirror player
Posted: Thu Feb 17, 2005 7:57 am
by lizardkid
is it possible to have an ai_actor somehow mirror the player's moves? like i set ai_actor in a room, player in another. ai_actor moves it's origins jsut like the player does. i dont need angles, just origin. is it possible?
Posted: Thu Feb 17, 2005 8:43 am
by jv_map
Yes.. but it won't be affected by leaning or looking up/down.
Posted: Thu Feb 17, 2005 8:46 am
by Bjarne BZR
Should just be a question of reading
And transfer that value to the origin of the ai.
Posted: Thu Feb 17, 2005 9:39 am
by Grassy
With offset maintained of course, otherwise the ai will be at the same origin of the player
And what happens if the players origin goes out of the bounds of the ai's movable area? You would have to monitor if payer istouching an entity and do the sums only if istouching is true.
Posted: Thu Feb 17, 2005 10:50 am
by Bjarne BZR
Yes, I guess I was a bit wague in my use of the word
transfer 
Posted: Thu Feb 17, 2005 3:47 pm
by lizardkid
i wondered if jsut an offset would work...
yes i only need the origin to change, i dont need any animations even.