Skip to content

Commit 20565f4

Browse files
committed
Merge branch 'rc' into release
2 parents b274e37 + ff8e203 commit 20565f4

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

c-api/cache/CachedEntity.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,18 @@ namespace cache
247247
bool IsRemote() const override {
248248
return _isRemote;
249249
}
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 {}
250262
#endif
251263
};
252264
} // namespace alt

cpp-sdk

0 commit comments

Comments
 (0)