View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000075||Medieval Engineers||Feature Request||public||2020-10-24 22:09||2022-11-16 17:45|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Target Version||0.7.5 (unreleased)|
|Summary||0000075: Provide new scriptable physics shape API|
Currently the only way to create physics shapes using scripting is via MyPhysicsHelper's Init*Physics methods. These are already marked obsolete and provide a very limited API that only allows simple box/sphere shapes to be created.
The proposed API here is to create two new components, MyCustomPhysicsShapeComponent and MyCustomRigidBodyComponent, that will not be serialized -- it is the responsibility of the calling mod to create the same shape on the client and server.
MyCustomPhysicsShapeComponent will contain these methods for mod use.
MyCustomRigidBodyComponent will not contain any API designed for mod use.
|Tags||No tags attached.|