Blockland Forums > Suggestions & Requests
Top-down player with a persistent camera
Port:
in a nutshell:
%client.setControlObject(%client.camera);
%client.camera.setControlObject(%client.player);
%client.camera.setOrbitMode(%client.player, ...);
+ package Armor::onTrigger without calling the parent in certain cases to stop them from leaving camera mode by doing things
Sitrus:
Would someone mind packaging this so I don't screw anything up?
Lugnut:
--- Quote from: Port on December 27, 2013, 04:05:52 PM ---in a nutshell:
%client.setControlObject(%client.camera);
%client.camera.setControlObject(%client.player);
%client.camera.setOrbitMode(%client.player, ...);
+ package Armor::onTrigger without calling the parent in certain cases to stop them from leaving camera mode by doing things
--- End quote ---
... what
i feel like this won't work properly. you're making the client control an orbiting camera?
Port:
Why would it not work properly?
Sitrus:
Has anyone tried this? I don't exactly understand how to package things.