We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b274e37 + ff8e203 commit 20565f4Copy full SHA for 20565f4
c-api/cache/CachedEntity.h
@@ -247,6 +247,18 @@ namespace cache
247
bool IsRemote() const override {
248
return _isRemote;
249
}
250
+
251
+ float _mass;
252
253
+ float GetMass() const override { return _mass; }
254
+ void SetMass(float mass) override {}
255
+ void ResetMass() override {}
256
257
+ alt::Vector3f _angInertia;
258
259
+ alt::Vector3f GetAngInertia() const override { return _angInertia; }
260
+ void SetAngInertia(const alt::Vector3f& mass) override {}
261
+ void ResetAngInertia() override {}
262
#endif
263
};
264
} // namespace alt
cpp-sdk
0 commit comments