Can someone help me with Sensors? Thank's

Game Engine, Players & Web Plug-in, Virtual Reality, support for other engines

Moderators: jesterKing, stiv

Post Reply
madcello
Posts: 0
Joined: Tue Jun 03, 2003 10:51 pm

Can someone help me with Sensors? Thank's

Post by madcello » Sun Aug 17, 2003 7:32 pm

Here is the case.
I have more than one door in a house, and i wan't to to use the (Right Mouse click Sensor) to open the doors (but just "that" door expecificaly).
Already have the realtime thing working almost the way i want, but when Right click, all doors open or close at the same time.

Is possible to do what i want?

Thank you very much!

thoro
Posts: 15
Joined: Thu Oct 17, 2002 10:20 am
Location: Berlin, Germany
Contact:

Post by thoro » Wed Aug 20, 2003 6:05 pm

Hi!

You have to combine 2 sensors, the 'Mouse'-sensor that you already assigned and an additional 'Near'-sensor, using an 'And'-controller.

This should do the trick :-)

Cheers

Thorsten

Saluk
Posts: 110
Joined: Wed Oct 16, 2002 6:52 am

Post by Saluk » Wed Aug 20, 2003 6:28 pm

Come check out elysiun.com, it's a better place for your questions:)

This site is more geared to programming the engine itself, rather than making things with it.

thoro
Posts: 15
Joined: Thu Oct 17, 2002 10:20 am
Location: Berlin, Germany
Contact:

Post by thoro » Wed Aug 20, 2003 7:12 pm

...oops, was my answer that bad? :wink:

Saluk
Posts: 110
Joined: Wed Oct 16, 2002 6:52 am

Post by Saluk » Wed Aug 20, 2003 7:56 pm

lol, your answer was fine, but people are supposed to keep these sorts of questions on elysiun, while talking about development or bugs here :)

madcello
Posts: 0
Joined: Tue Jun 03, 2003 10:51 pm

Thank you very much!

Post by madcello » Thu Aug 21, 2003 1:02 am

After trying a while :shock: , saw that the doors have to be actors for the Near sensor to react, and react :o (just have to test the values)

:D Thank you very much for your help, thoro!

p.s. - I've put the same question in elysiun.com, before put it in here, and got no help (and dont think the question so "dummy" or "Empty" (bad joke) in this forum.

thank's again!
Good Blending!

verence
Posts: 33
Joined: Thu Nov 07, 2002 12:42 pm

Post by verence » Thu Aug 21, 2003 12:33 pm

just a small hint, it is easier to combine two mouse sensors: rmb and mouseover, so you do not have to play with values.

greets,
verence

madcello
Posts: 0
Joined: Tue Jun 03, 2003 10:51 pm

Post by madcello » Thu Aug 21, 2003 2:32 pm

Good, it's better for me because i'm making aninteractive house and there are doors close to each other.
This gives (in this case) a hell of much more control! :D

Thank you very much!

Post Reply