Page MenuHomeFeedback Tracker

Consider adding a getMass command.
Closed, ResolvedPublic

Description

A getMass command would be useful for many things and would appear (on the surface) to be a simple addition.

  1. It compliments the setMass function, allowing mission designers to get, modify then set a new mass of an object for whatever reason they may need.
  1. It removes the need to access a static config value when looking for the mass of an object
  1. Combined with setVelocity (and sleep), it can be used to apply an impulse of a specific force for any dynamically chosen object, which may or may not have a modified mass.

Plus many more possibilities that mission designers and modders could think up.

Details

Legacy ID
1462210516
Severity
None
Resolution
Fixed
Reproducibility
N/A
Category
Scripting
Additional Information

Event Timeline

MadocComadrin edited Additional Information. (Show Details)
MadocComadrin set Category to Scripting.
MadocComadrin set Reproducibility to N/A.
MadocComadrin set Severity to None.
MadocComadrin set Resolution to Fixed.
MadocComadrin set Legacy ID to 1462210516.May 7 2016, 3:48 PM
Bohemia added a subscriber: Bohemia.May 7 2016, 3:48 PM

I could use this for my Ekranoplan. It Could come in handy to keep track of the mass of the cargo+plane.

This is brilliant! Weapons mounted on aircraft could actually have an impact on the aircraft due to weight?

Edit: Added a link to the scripting command you would like.

Added. Can now be closed.

Added in build 114929.

Mass-close of resolved tickets not updated in last two weeks.