• Hi Guest!

    We are extremely excited to announce the release of our first Beta for VaM2, the next generation of Virt-A-Mate which is currently in development.
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.

Scenes Simple chair tied scene with random animation

Joined
Jul 17, 2023
Messages
300
Reactions
681
Spankimus submitted a new resource:

Simple chair tied scene with random animation - Chair Tied

Wanted to try to do some animations and use the physics to make it look more realistic. There is a woeful lack of items with actual physics on the shape of the item on the hub. Many thanks to @Frief however who has a few items where the physics seems to work very well against the other items. Real ropes and chains would be a great thing to try to animate although I expect pretty costly on performance. Ah well, here it is:

View attachment 356160

Read more about this resource...
 
So, I have been assuming all this time that my modification to @MacGruber logicbricks RandomAnimation script to allow for faster movement would be taken up when loaded into someone else's VaM with the unmodified script. It appears, however, now that I've cleared my AddonPackages to load into a "clean"ish VaM, that the loader or some part of the process is limiting the maximum speed of movement, hence it's not going to work as well for everyone else. It seems a bit much to modify the whole logicbricks suite and release it just to change this one value, so for those wanting better animation, find the script ( C:\Program Files\VaM\AddonPackages\MacGruber.LogicBricks.14.var\Custom\Scripts\MacGruber\LogicBricks\Internal\MacGruber_RandomAnimation.cs )
and change the max range on the speed on lines 42/32 here like this from 5 to 500:

mySpeedMin = Utils.SetupSliderFloat(this, "Speed Min (cm/s)", 0.5f, 0.01f, 500.0f, false);
mySpeedMax = Utils.SetupSliderFloat(this, "Speed Max (cm/s)", 1.0f, 0.01f, 500.0f, false);

Will make the animation much nicer.
 
Back
Top Bottom