Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


Author Topic: 3d actor stays visible  (Read 3636 times)

0 Members and 1 Guest are viewing this topic.

Stucki

  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Posts: 325
  • I'm a llama!
    • View Profile
    • Schach-Welten
3d actor stays visible
« on: August 08, 2007, 05:54:44 PM »

Hello.
First of all. I love this engine !!! it absolutely rocks. Today i was so proud on the work i have done with this engine. I want to share with you !!! thanks for this amazing tool !!!!

now my today problem ....

i have a scene in which stands a 3dactor. this has 3d geometry
now i change to another scene. this one has no 3d geometry

my char stays visible even when the first call in the new scene is actor.Active=false or a actor.SkipTo(-500,0); command. when the first Talk command is actve my char behaves like he should and disappears to the position assigned to it

than i changed the scene change to the game.fadeout . scene.change ("name",false, false); and game.fadein method. same problem.
than i deactivated the actor bevor the scene.change by actor.Active=false; doesnt change,too

what am i missing ?? any idea ??

stucki

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: 3d actor stays visible
« Reply #1 on: August 08, 2007, 06:21:51 PM »

Well actor.Active should effectively hide the actor no matter what. Aren't you changing the attribute in some other script?
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Stucki

  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Posts: 325
  • I'm a llama!
    • View Profile
    • Schach-Welten
Re: 3d actor stays visible
« Reply #2 on: August 08, 2007, 10:39:16 PM »

okay i found the problem but cant get rid of it.

i used to have a 2d actor dummy for starting. now i changed it to a 3d full char.

in scenes where the actor has to talk, but hasnt to be visible ( mostly closeups) i simply moved my char out of the screen. ( actor.SkipTo (-200,0);)  so he can talk but is not visible.
this doesnt seem to work for my 3dchar anymore. he just dont react on this call.
i think i will have to create an extra char for closeup scenes.
but why cant i move the char out of the screen like the old 2d one ??

odnorf

  • w00t?
  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 7
  • Offline Offline
  • Gender: Male
  • Posts: 1456
  • Lamp dog!
    • View Profile
Re: 3d actor stays visible
« Reply #3 on: August 08, 2007, 10:49:03 PM »

For speaking without a character on the screen you can hide the character and use an entity with an empty (trasparent) image.
Logged
fl*p

Stucki

  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Posts: 325
  • I'm a llama!
    • View Profile
    • Schach-Welten
Re: 3d actor stays visible
« Reply #4 on: August 08, 2007, 11:02:33 PM »

thanks good idea !!

and now i know why the actor.SkipTo method doesnt work.
these scenes do not have 3ds.data so the actor cant move to the specific point .. am i right ??

Stucki

  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Posts: 325
  • I'm a llama!
    • View Profile
    • Schach-Welten
Re: 3d actor stays visible
« Reply #5 on: August 08, 2007, 11:06:34 PM »

and actor.Scale=0; works fine, too.
so i do not have to alter all my actor.Talk commands ...

or does it slow down the engine when a 0 scaled char is rendered ??

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: 3d actor stays visible
« Reply #6 on: August 09, 2007, 07:36:39 AM »

or does it slow down the engine when a 0 scaled char is rendered ??
Yes, a lot of work is done even if the scale is zero. The invisible entity suggested by odnorf is definitely a cleaner solution.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.033 seconds with 20 queries.