View keeps moving away from actor?

Non-platform specific questions.

View keeps moving away from actor?

Postby LyokoBlight » Thu Jan 31, 2013 10:09 am

The way I usually make games is to have different actors for each character's movement/action.
However this problem occurs in all my games, everytime the action changes, the view moves away slightly from the actor.
When I make a new actor/action for my character, I always add:
Create Actor > Change Parent > Child: View - Parent: (Action/Actor name here)

This makes it really annoying for the player not even being able to see the character because eventually it gets out of view.
If anyone could help me out that would be wonderful.
User avatar
LyokoBlight
 
Posts: 4
Joined: Sat Nov 10, 2012 10:14 pm
Location: Where the kangaroos run wild.
Score: 0 Give a positive score

Re: View keeps moving away from actor?

Postby skydereign » Sat Feb 02, 2013 4:00 am

I would recommend using a different way of handling view movement. Even without this problem, parenting the view to the player is usually not as nice as the alternatives. Parenting causes zdepth/shared attribute problems, including the positioning problems. I believe the issue that is causing this can be fixed without too much rearranging, but I'll have to look into it later.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron