Facepunch / garrysmod-requests

Feature requests for Garry's Mod
86 stars 24 forks source link

Add GetBuoyancyRatio() for PhysObj #2234

Closed DimasDSF closed 12 months ago

DimasDSF commented 12 months ago

Details

Currently there is no way to get a physics objects buoyancy, PhysObj does not implement GetInternalVariable or GetKeyValues so there is also no way to get the m_buoyancyRatio variable.

robotboy655 commented 12 months ago

it is unfortunately not exposed by the physics engine interface, so it cannot happen.