hi there ,
for my game i modeled my character twice, once with a pistol and once with a machine gun.
While the game is running i want to switch between them. Sounds easy but somehow i dont get it…
since i created two chasecams and enable and disable them i get strange optical bugs… - the cam follows but the player jiggles-
maybe there is something with the order of controls??
or maybe there is a simple way… like chasecam.setTarget(pistolman); <---- dont find such a method
pistolman.setLocation(mgman.getLocation());
mgma.setCullMode(always);
mhm… as i mensioned it above i already got the cam follow, but when i move the character jiggles somehow… maybe my mistake is to use the same characterControl
when i switch i do this:
pistolman.removecontrol(character);
mgman.addcontrol(character); /// character is charactercontrol ///
maybe this brings the controls out of order or something like that?
Im new in jmonkey