Wintermute Engine Forum
Wintermute Engine => Technical forum => Topic started by: binary1 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?
-
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 :)
-
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.
-
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.