merge Develop into master #2

Merged
SemvdH merged 81 commits from develop into master 2020-09-18 14:44:28 +00:00
Showing only changes of commit a8494bc4d2 - Show all commits

View File

@@ -55,7 +55,27 @@ namespace RH_Engine
public string ModelCommand() public string ModelCommand()
{ {
return ""; string namename = "bike";
dynamic payload = new
{
id = "scene/node/add",
data = new
{
name = namename,
components = new
{
model = new
{
file = "\\data\\NetworkEngine\\models\\bike\\bikee.fbx",
cullbackfaces = true,
animated = false,
animation = "\\data\\NetworkEngine\\models\\bike\\bike_anim.fbx"
},
}
}
};
return JsonConvert.SerializeObject(Payload(payload));
} }
public string RouteCommand() public string RouteCommand()