Skip to content

Commit

Permalink
Exposing missing functions on BodyCreationSettings
Browse files Browse the repository at this point in the history
  • Loading branch information
jrouwe committed Mar 2, 2024
1 parent 4833c34 commit aefd381
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 18 deletions.
9 changes: 7 additions & 2 deletions JoltJS.idl
Original file line number Diff line number Diff line change
Expand Up @@ -2254,11 +2254,16 @@ interface MassProperties {
};

interface BodyCreationSettings {
void BodyCreationSettings();
void BodyCreationSettings([Const] Shape inShape, [Ref] RVec3 inPosition, [Ref] Quat inRotation, EMotionType inMotionType, unsigned long inObjectLayer);
[Const] ShapeSettings GetShapeSettings();
void SetShapeSettings([Const] ShapeSettings inShape);
void SetShapeSettings([Const] ShapeSettings inShape);
[Value] ShapeResult ConvertShapeSettings();
[Const] Shape GetShape();
void SetShape([Const] Shape inShape);
void SetShape([Const] Shape inShape);
boolean HasMassProperties();
[Value] MassProperties GetMassProperties();

[Value] attribute RVec3 mPosition;
[Value] attribute Quat mRotation;
[Value] attribute Vec3 mLinearVelocity;
Expand Down
32 changes: 16 additions & 16 deletions serveexamples/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit aefd381

Please sign in to comment.