Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
lever move by itself?
HoyChampoy Offline
Junior Member

Posts: 43
Threads: 16
Joined: Jun 2012
Reputation: 0
#1
lever move by itself?

Hey Guys,

I was wondering if it was possible to get a lever to move by itself, like actually seeing a lever get pull downed without you doing it yourself?
07-23-2012, 06:52 PM
Find Reply
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#2
RE: lever move by itself?

Maybe AddPropImpulse/Force can to it?

Trying is the first step to success.
07-23-2012, 07:19 PM
Find Reply
HoyChampoy Offline
Junior Member

Posts: 43
Threads: 16
Joined: Jun 2012
Reputation: 0
#3
RE: lever move by itself?

(07-23-2012, 07:19 PM)beecake Wrote: Maybe AddPropImpulse/Force can to it?
It works, but only sometimes. On the times it doesn't do it, it looks like the lever just twitches. I used addpropforce and set the y cordinates to -32000, so it goes down. How do i get it so the lever comes down everytime?
07-23-2012, 07:47 PM
Find Reply
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#4
RE: lever move by itself?

I dont know... How about using prop impulse... I guess those high numbers are pretty hard to go with...

Trying is the first step to success.
07-23-2012, 10:57 PM
Find Reply
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#5
RE: lever move by itself?

Set the stuck state for the lever.

Tutorials: From Noob to Pro
07-24-2012, 01:12 AM
Website Find Reply
PixelHurricane Offline
Junior Member

Posts: 24
Threads: 8
Joined: Jul 2012
Reputation: 0
#6
RE: lever move by itself?

What do you mean by "so the lever comes down everytime?"
I assume you mean that you want it so it comes down evertime you enter the room.
if so use AddEntityCollideCallback and set the int variable at the end to 0
07-24-2012, 04:18 AM
Find Reply




Users browsing this thread: 1 Guest(s)