I'm still trying to get the fundamentals of the blender game engine down, but for now I have this:
The camera's position is controlled with W
A
S
D
, and the camera rotates to where the mouse is, like in Minecraft.
What I want to happen is when the player presses W
, the cart moves forward, along with person while maintaining the same distance away. I thought about just copying the W
to move forward from the camera to the cart, but that didn't work. Right now you have to actually push the cart and I don't want that. I also want the cart to rotate when the player does using the mouse using the origin of the camera as a pivot point. At first I thought using a game property, but apparently they're only relative to a single object? I've used a 2-D game engine before where you could make a property (called an Attribute) that was relative to the scene, game, or character. I'd appreciate it if it could be done using logic bricks, as I'm still working on Python. I feel like I'm not explaining this right, so just add a comment if you need clarification.