Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Author Topic: restricting actor to part of the floor  (Read 3000 times)

0 Members and 1 Guest are viewing this topic.

binary1

  • Supporter
  • Occasional poster
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 51
    • View Profile
restricting actor to part of the floor
« on: September 02, 2013, 06:47:28 AM »

Is there a way to restrict a 3D actor to part of the floor?  I have a scene where there is a receptionist behind a desk and the main actor is in front of the desk.  Is there a way to have the desk be between the two models?
Logged

Azrael

  • Regular poster
  • ***
  • Karma: 9
  • Offline Offline
  • Gender: Male
  • Posts: 155
    • View Profile
    • Mad Orange
Re: restricting actor to part of the floor
« Reply #1 on: September 02, 2013, 08:31:35 AM »

In a 2.5D game with geometry.
In a 2D game (but also in a 2.5D work) you have to create 2 floor and put the desk between them.

Something like that:
- floor for receptionist
- image of the desk covering the receptionist
- main floor

Also you could "cut" the receptionist image :)
Logged

Jose

  • Regular poster
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 134
    • View Profile
Re: restricting actor to part of the floor
« Reply #2 on: September 02, 2013, 02:17:20 PM »

I'm not sure if I understand you right but I think that you can define a region behind the desk and then use the StickToRegion method of the 3D actor to force the actor to stay in that region.
Logged

binary1

  • Supporter
  • Occasional poster
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 51
    • View Profile
Re: restricting actor to part of the floor
« Reply #3 on: September 05, 2013, 03:58:51 AM »

Thanks!  I was using StickToRegion in another part of the program (I have a dog on a table) so I don't know why I didn't think to use it for the receptionist.
Logged
 

Page created in 0.097 seconds with 24 queries.