third person block animation
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
This commit is contained in:
parent
6c3dcec01c
commit
3092b70c1e
@ -290,7 +290,7 @@
|
||||
"variants": [
|
||||
{
|
||||
"variantId": "blockWeaponRight",
|
||||
"mainAnimation" : "Fall",
|
||||
"mainAnimation" : "HoldItemR2HBlock",
|
||||
"mainFirstPersonAnimation" : "HoldItemR2HBlock",
|
||||
"defaults" : [
|
||||
{
|
||||
|
||||
@ -112,7 +112,21 @@ public class ClientSceneWrapper {
|
||||
LoggerInterface.loggerNetworking.WARNING(clientToServerIdMap.keySet() + "");
|
||||
LoggerInterface.loggerNetworking.WARNING("Server -> Client keys");
|
||||
LoggerInterface.loggerNetworking.WARNING(serverToClientIdMap.keySet() + "");
|
||||
LoggerInterface.loggerNetworking.WARNING("Debug here");
|
||||
}
|
||||
|
||||
/**
|
||||
* Dumps data about a given id
|
||||
* @param id The id
|
||||
*/
|
||||
public void dumpIdData(int id){
|
||||
LoggerInterface.loggerNetworking.WARNING("Client->Server Map contains? " + clientToServerIdMap.containsKey(id));
|
||||
LoggerInterface.loggerNetworking.WARNING("Server->Client Map contains? " + serverToClientIdMap.containsKey(id));
|
||||
if(clientToServerIdMap.containsKey(id)){
|
||||
LoggerInterface.loggerNetworking.WARNING("Client->Server Map entity: " + clientToServerIdMap.get(id));
|
||||
}
|
||||
if(clientToServerIdMap.containsKey(id)){
|
||||
LoggerInterface.loggerNetworking.WARNING("Server->Client Map entity: " + serverToClientIdMap.get(id));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -164,9 +164,11 @@ public class Main {
|
||||
|
||||
//uncomment to test loading a model into engine
|
||||
// if(1==1){
|
||||
// Globals.assetManager.addModelPathToQueue("/Models/creatures/viewmodel.glb");
|
||||
// //Models/creatures/person2/person2_1.glb
|
||||
// ///Models/creatures/viewmodel.glb
|
||||
// Globals.assetManager.addModelPathToQueue("/Models/creatures/person2/person2_1.glb");
|
||||
// Globals.assetManager.loadAssetsInQueue();
|
||||
// electrosphere.renderer.model.Model model = Globals.assetManager.fetchModel("/Models/creatures/viewmodel.glb");
|
||||
// electrosphere.renderer.model.Model model = Globals.assetManager.fetchModel("/Models/creatures/person2/person2_1.glb");
|
||||
// // for(electrosphere.renderer.anim.Animation anim : model.getAnimations()){
|
||||
// // if(anim.name.equals("Armature|Idle1")){
|
||||
// // System.out.println(anim.duration);
|
||||
|
||||
@ -77,6 +77,7 @@ public class ClientSynchronizationManager {
|
||||
"Entity id in network message: " + message.getentityId()
|
||||
;
|
||||
Globals.clientSceneWrapper.dumpTranslationLayerStatus();
|
||||
Globals.clientSceneWrapper.dumpIdData(message.getentityId());
|
||||
throw new IllegalStateException(errorMessage);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user