Hi guys,
i’m trying to help someone out who wants to make a 3D game but isnt sure how the scripting will work. Basically he plans to have a series of trays with balls in and a golf style hole to aim for. Then he has a camera focused on the ball, which rotates around it at all times, and upon triggering a function, he wants to apply a force away from the camera, as if its being pushed by the player who is facing it, by doing this, eventually the player should be able to “pot” the ball, letting it drop through to the next part of the puzzle. I’ve told him the way I would attempt it, which is to use the camera’s forward vector in order to change the axis of the ball, then apply a velocity using the forward direction of the camera. Does this make sense or is there a better way of doing it? He has given me a grab of the 3d tray - its just a 3D test in director currently, just so you can get an idea of what i mean. Take a look and any help would be much appreciated!
Cheers,
Will
