Option to change rotation of loot boxes (paid $$$)Solved
Hello dear community,

I am very new into making servers for rust and my general knowledge about this whole topic is rather low.
Understanding new things is quite easy for me and I have made a lot of stuff like this in my very own cs:go community (servers)

I have a big problem and I hope someone can help me out on that one and incase someone can actually help me I would please you to explain as detailed as possible as written before my general knowledge isn't good yet. (Just incase I have to put some code somewhere etc)

So, my problem:

is very nice and I understand how to spawn (crates in my example)

Whenever I place a box it always faces in the same direction no matter where I stand, how I stand or whatever I do.
Here is a little screenshot of my issue.

 

And yes, this is a lootcrate from underwater (not a normal box to place items inside)

If anyone could help me that would help a lot!

Thanks in advance, 

Toxic
I can't go into much detail but the general idea is relatively simple.

Every game object has a `transform` which contains the position and rotation of the object.

https://docs.unity3d.com/ScriptReference/Transform.html

Every transform includes a `position` property with `x`, `y`, `z` axes which represent the objects position in the game world.

https://docs.unity3d.com/ScriptReference/Transform-position.html

Further, every transform also has a `rotation` property which represents the orientation of the object with the same `x`, `y`, `z` axes.

https://docs.unity3d.com/ScriptReference/Transform-rotation.html

So, to answer your question more specifically, you would need to change the `rotation` of an object to change it's orientation. Generally speaking, I'd recommend using the players rotation (or the inverse) for the initial rotation of an object (so the object will be placed relative to the player).

You may want to ask to plugin maintainer to make this change, or you can give it a try yourself.
Thanks a lot for your answer, sadly I can't use any of your information :D
I made a topic in the other forum (that apparently got deleted for whatever reason?) to search for a guy that can change that, I would try it myself but I have no idea where to start.
Do you maybe have any recommendations on people that could do this or know anyone that is capable of stuff like that?
Thank you very much.

Greetings,

Toxic
TheRealToxic
I made a topic in the other forum (that apparently got deleted for whatever reason?) to search for a guy that can change that, I would try it myself but I have no idea where to start.
The other thread was removed, as it was essentially a duplicate thread and not an actual plugin request. This thread has been moved to the appropriate area and marked as a "Suggestion" with your pay request.
This topic can be removed.
TheRealToxic
This topic can be removed. the plugin im using was deleted from my text etc, people dont even know now what is going on.
You are using "Custom Loot Spawns", which is literally the section that it is currently under.
5e13a8d5b2bc5.jpg Wulf
You are using "Custom Loot Spawns", which is literally the section that it is currently under.
yea i noticed, sorry. thats why i removed the other part of the post.
Locked automatically