Jump to content
Sign in to follow this  
Grumpy Old Man

getmass/setmass - where does that value come from?

Recommended Posts

Hey folks,

any idea where to find the mass values of vehicles? They don't appear to be in the config viewer, are they stored elsewhere?

cheers

Share this post


Link to post
Share on other sites

The Kuma is not slingable by default so you need to attach ropes manually. Additionally, reducing the weight to 10 or even 1 unit/s is way too much. I'd personally decrease the weight by percentage like so:

_value = 0.9;//90% weight

this setMass ((getMass this) * _value);

Lowering the weight by more than 50% is not really recommended for the reasons you've showed in your video.

 

You can create ropes with the following command

https://community.bistudio.com/wiki/ropeCreate

  • Like 1

Share this post


Link to post
Share on other sites

Here's a working example:

Revo_kuma setMass ((getMass Revo_kuma) * 0.3);   //30% weight seems to be the sweetspot
ropeCreate [Revo_taru, "slingload0", Revo_kuma, [2, 2, -1.5], 50];  
ropeCreate [Revo_taru, "slingload0", Revo_kuma, [-2, 2, -1.5], 50];  
ropeCreate [Revo_taru, "slingload0", Revo_kuma, [1.8, -5, -1], 50];  
ropeCreate [Revo_taru, "slingload0", Revo_kuma, [-1.8, -5, -1], 50];

1. Place a taru heli in the air, name it Revo_taru (or what ever you like)

2. Place an empty kuma right underneath it, name it Revo_kuma

3. Execute above code in the debug line

4. Enjoy ;)

  • Like 1

Share this post


Link to post
Share on other sites

creating ropes is a good call as I'm sure once the kuma is slung with lower mass it would move around like a pendulum under the chopper.

Many thanks for the suggestion. 

edit:
Many thanks for the example also.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×