Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Connect Area to Entity
Apjjm Offline
Is easy to say

Posts: 496
Threads: 18
Joined: Apr 2011
Reputation: 52
#16
RE: Connect Area to Entity

You could build a dynamic collision triggered position tracking system with respect to a static object off the map acting as the origin, with the aim of following the monster around, then upon whatever event attaching to the origin using the position of the enemy (relative to the origin). I was planning on building a system like this a while back to track the players position, but I never got around to it.
The general idea was to pick a cube size which is equal to the diameter of the target body, then use Attaching to the origin to remove and create cubes as necessary based on the collisions to track the target. Subdivision can then be used when you need a more precise answer using the cube position mean as a starting point.

Getting the rotation of the enemy is a problem with this system, though, also Attached props do not have physics enabled or collisions.
(This post was last modified: 08-15-2011, 02:07 AM by Apjjm.)
08-15-2011, 01:52 AM
Find


Messages In This Thread
Connect Area to Entity - by Phoroneus - 08-14-2011, 07:00 PM
RE: Connect Area to Entity - by palistov - 08-14-2011, 07:28 PM
RE: Connect Area to Entity - by Your Computer - 08-14-2011, 07:35 PM
RE: Connect Area to Entity - by Phoroneus - 08-14-2011, 08:09 PM
RE: Connect Area to Entity - by Your Computer - 08-14-2011, 08:39 PM
RE: Connect Area to Entity - by Phoroneus - 08-14-2011, 08:51 PM
RE: Connect Area to Entity - by Your Computer - 08-14-2011, 09:21 PM
RE: Connect Area to Entity - by Phoroneus - 08-14-2011, 09:56 PM
RE: Connect Area to Entity - by Your Computer - 08-14-2011, 10:27 PM
RE: Connect Area to Entity - by Phoroneus - 08-14-2011, 10:33 PM
RE: Connect Area to Entity - by Your Computer - 08-15-2011, 02:46 AM
RE: Connect Area to Entity - by Phoroneus - 08-15-2011, 09:42 AM
RE: Connect Area to Entity - by palistov - 08-14-2011, 11:31 PM
RE: Connect Area to Entity - by Tanshaydar - 08-14-2011, 11:36 PM
RE: Connect Area to Entity - by palistov - 08-14-2011, 11:37 PM
RE: Connect Area to Entity - by Tanshaydar - 08-14-2011, 11:40 PM
RE: Connect Area to Entity - by Phoroneus - 08-15-2011, 01:01 AM
RE: Connect Area to Entity - by Apjjm - 08-15-2011, 01:52 AM



Users browsing this thread: 1 Guest(s)