Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: coffeeANDsoda on April 03, 2018, 05:05:49 PM

Title: Point&Click controls for player like Myst
Post by: coffeeANDsoda on April 03, 2018, 05:05:49 PM
This is a problem I've been having. I am making a game where you point and click triggers to navigate through a game. So when the player clicks a trigger, the main camera moves to a empty object. This is the problem in this image.

(https://i.imgur.com/0COO3tCh.png)

The camera doesn't move to a empty object and if I don't use set position on both states, then the camera rotates.

Advice?
Title: Re: Point&Click controls for player like Myst
Post by: coffeeANDsoda on May 01, 2018, 04:14:06 PM
Anyone?
Title: Re: Point&Click controls for player like Myst
Post by: stvbabb on May 02, 2018, 01:36:29 AM
I'm away from my work PC currently, but I'll take a crack at this. Been wondering about it as well.
Title: Re: Point&Click controls for player like Myst
Post by: coffeeANDsoda on May 03, 2018, 03:18:33 PM
If you can provide screen shots of it, whether its with a FSM attached to the main camera or not, would be great if you could or even a video explaining it.
Title: Re: Point&Click controls for player like Myst
Post by: tcmeric on May 04, 2018, 01:30:04 AM
Hi, I will jump in here. You want the camera to move to a position that you click.

You want it to move there smoothly, or just appear? Any example video of how you want it to look? Is this 3d space? Therefore does it need any rotation, or should always be facing towards X?

Than I will help you find a solution  8)
Title: Re: Point&Click controls for player like Myst
Post by: stvbabb on May 04, 2018, 02:21:27 AM
Thanks, tcmeric! I haven't had a moment to get to this, but I'll try to get some time during the weekend.
Title: Re: Point&Click controls for player like Myst
Post by: coffeeANDsoda on May 04, 2018, 09:00:50 PM
Hi, I will jump in here. You want the camera to move to a position that you click.

You want it to move there smoothly, or just appear? Any example video of how you want it to look? Is this 3d space? Therefore does it need any rotation, or should always be facing towards X?

Than I will help you find a solution  8)

Like this game.

Title: Re: Point&Click controls for player like Myst
Post by: coffeeANDsoda on May 19, 2018, 04:30:20 PM
Bump.
Title: Re: Point&Click controls for player like Myst
Post by: djaydino on May 25, 2018, 11:02:45 AM
Hi.
I would use (child) trigger boxes(2D) and make a prefab for each image.

OR

Have some arrays for each image (trigger positions, size and events)

OR

Use xlm/json and Datamaker which i think would be the best solution but a little bit harder to learn how to do so.