Page MenuHomeFeedback Tracker

[Feature Request] New scripting command: getGeometryMass
Closed, ResolvedPublic

Description

Returns the mass of any object (even non-PhysX) that is defined in the geometry LOD:

getGeometryMass _obj;

returns:
Number: Mass

Maybe can return the center of mass as well?
returns:

[Mass, CenterOfMass]

Use case: Projectiles (such as missiles) whose mass matter in their flight path, and maybe other stuff.

Details

Severity
Feature
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
General

Event Timeline

Leopard20 created this task.Mar 3 2022, 4:29 PM
Leopard20 updated the task description. (Show Details)Mar 3 2022, 5:05 PM
h- added a subscriber: h-.Mar 4 2022, 3:43 PM
Leopard20 changed the task status from New to Assigned.
Leopard20 set Ref Ticket to AIII-56162.
Leopard20 changed the task status from Assigned to Feedback.Jan 13 2024, 10:38 PM

Added the mass to getModelInfo instead.

Leopard20 closed this task as Resolved.Jan 13 2024, 10:58 PM
Leopard20 removed Leopard20 as the assignee of this task.