splash27 Posted November 19, 2017 Share Posted November 19, 2017 Hi everyone! I am trying to implement a simple thing. I want the player (FreeCamera) be able to push other objects on scene when he collides with it. The approach I found before is creating of the box and attaching camera to it. Like this: camera.parent = playerBox; and then attach Impostors to playerBox and other pushable objects. But I completely don't like this. Because: 1) Camera falls if playerBox falls after collision. I want the player to be stable while colliding. 2) I need to reimplement controls for playerBox, including mouse look. Well, it's easy to make playerBox move along axis (X,Y,Z). But what about diagonal movement? What about mouse look? I need to reimplement everything that FreeCamera already can do. To be honest, I just want FreeCamera to have some mass while it collides. Is there an easy way to do this? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.