﻿ Collisions between multiple actors
• August 04, 2020, 03:52:02 AM
• Welcome, Guest

Pages: [1]

### AuthorTopic: Collisions between multiple actors  (Read 1392 times)

0 Members and 1 Guest are viewing this topic.

#### Sothoth

• Lurker
• Karma: 0
• Offline
• Gender:
• Posts: 29
##### Collisions between multiple actors
« on: July 26, 2013, 05:08:50 PM »

Hi! I'm trying to understand the rationale behind the points in http://docs.dead-code.org/wme/inside_actors.html#collisions , about the BLOCKED_REGION and the WAYPOINTS.

If I'm not wrong, the BLOCKED_REGION defines a 4-point region around the actor, and the WAYPOINTS defines a set of waypoints around the blocked region, so another actor can go near the given actor without entering into its blocked region. All the numbers are relative to the given actor's position.

The above link defines the following blocked region and waypoints:

Code: WME Script
1.   BLOCKED_REGION
2.   {
3.     POINT {-60,-48}
4.     POINT {46,-48}
5.     POINT {46,53}
6.     POINT {-60,53}
7.   }
8.   WAYPOINTS
9.   {
10.     POINT {-65,-53}
11.     POINT {-56,39}
12.     POINT {51,-58}
13.     POINT {60,58}
14.   }

However, the waypoint (-56,39) falls into the blocked region, so any other actor will be unable to go to that waypoint. Is it right?

By the way, another question: the blocked region doesn't symetrically surrounds the actor, according to the numbers. It seems to be further away to the left and to the top. Is there a reason to do it so?

Thank you very much in advance!
Logged
Sorry for my poor English!
Pages: [1]

Page created in 0.086 seconds with 23 queries.