Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Author Topic: Sprite in front of and behind 3D actor  (Read 2529 times)

0 Members and 1 Guest are viewing this topic.

FogGobbler

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 228
    • View Profile
Sprite in front of and behind 3D actor
« on: November 17, 2007, 10:09:59 AM »

Hi!

Please help me with this problem. I´ve got a door (3D actor - "A") that fits neatly in my 2D scene (don´t bother about the color - its just for testing ;-)) ) .

Now I want the wall to oberlap a bit of the door, so that I get the effect, the door is set back. I´ve got a  bit of the wall (a sprite - "B") that should be in front of the door-object but behind the main character. I know its not lined up correctly, it´s just to show you the effect.

Unfortunally I can´t get the wall part on top of the door and behind the character. It´s either or.





I tried it with as a free entity sprite and with the StickToRegion("floor") command, but still no effect :-(
« Last Edit: November 17, 2007, 10:19:04 AM by FogGobbler »
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Sprite in front of and behind 3D actor
« Reply #1 on: November 17, 2007, 10:27:12 AM »

You need to use two floor regions. Check step 3 of scene creation tutorial in WME docs. It's the same problem as the desk in the tutorial scene.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

FogGobbler

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 228
    • View Profile
Re: Sprite in front of and behind 3D actor
« Reply #2 on: November 17, 2007, 10:50:10 AM »

Great! It works! You´ve made me a very happy guy (I hope my girlfriend doesn´t read this)  ;D
Logged
 

Page created in 0.036 seconds with 24 queries.