Jump to content
A 2021 backup has been restored. Forums are closed and work in progress. Join our Discord server for more updates! ×
SoaH City Message Board

Coding a bridge in mmf.


Flare

Recommended Posts

Ok, well I have a active object for each bridge part.

If the character is on an part of the bridge it lowers until it touches a sensor and the rest of the bridge parts have this formula

For bridge part 2:

Y= ( Y( "Bridge 1" ) / 2 ) + ( Y( "Bridge 3" ) / 2 )

I think I got it working If I I make sure the sensor isn't two low so the bridge doesn't stretch too much, but I am wondering If I can be made smoother

Link to comment
Share on other sites

I bet I know your problem. Right now you probably have the bridge set to change position at no specific rate, just relative to your player. Add a bit of delay in there (i'd say 00"02 ~ 00"07) to make the bridge feel a little more realistic, and it'll probably fix that jump problem too.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...