mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Framework for the attachment system, new object property which allows changing the color and alpha of mesh materials
New object property which allows changing the color and alpha of mesh materials. Due to the current lighting systems it doesn't work yet, but the full implementation is there Framework for the attachment system, with no actual functionality yet Send bone and player object to the setAttachment function in content_sao.cpp, but we need a way to translate it there and send it to the client I will also want position and rotation offsets to be possible to apply to attachments Network object ID from server to client. This will be used to identify the parent client-side and know what to attach to
This commit is contained in:
parent
118285e6ba
commit
e42eeec8f6
11 changed files with 181 additions and 4 deletions
|
@ -156,6 +156,8 @@ public:
|
|||
{}
|
||||
virtual void setBonePosRot(std::string bone, v3f position, v3f rotation)
|
||||
{}
|
||||
virtual void setAttachment(ServerActiveObject *parent, std::string bone, v3f position, v3f rotation)
|
||||
{}
|
||||
virtual ObjectProperties* accessObjectProperties()
|
||||
{ return NULL; }
|
||||
virtual void notifyObjectPropertiesModified()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue