Need some help withMSPhysics script
-
Hi, i'm just started with using script in ms physics. I see the potential, but its hard to find samples or good tutorials about it. For example, i use this script for different servo's
onStart{
set_var("schuif",0)
}onClick{
if get_var("schuif")==0
set_var("schuif",9)
else
set_var("schuif",0)
end
}This script make's a piston go 0ne direction on click, and go back on the next click.
Is it possible te slider goes back to 0 without the second click? Meaning it goes to 9 en then returns to 0 ?I use a similar script to rotate an object 45 degrees on each clikck, but this script allows me only 3 clicks. Is there a way to extend the number of clicks?
Hope someone can help me out with this
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better đź’—
Register LoginAdvertisement