From NPC combat to path following and all AI related tasks.

Character Camera

Character Camera

Postby TattieBoJangle » 29 Jan 2015, 03:26

Hi i have attached a camera to a character but no matter what i do the character seems to be running backwards and facing the wrong way i have tried rotating him using x,y,z 180 but to no success.
User avatar
TattieBoJangle
Community Manager
Community Manager
 
Posts: 858
Joined: 26 Jan 2015, 00:15
Location: United Kingdom
Skill: 3D Modeller
Skill: 2D Artist
Skill: Level Designer
Skill: Great creative

Re: Character Camera

Postby SolarPortal » 29 Jan 2015, 12:43

have you tried using the Flip Direction property on the character controllers.

if this still does not work, import the character into the mesh editor and rotate on the Y axis for 180 degrees, then hit save.
Go back into the editor and press the reload sceneEntity button.
Hope this helps :D

Edit: Just a heads up, the next version of skyline has an improved camera entity with built in functionality for adventure, rts games and more :)
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3153
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: Character Camera

Postby TattieBoJangle » 29 Jan 2015, 15:34

None of the above work the character rotates but when you test the game he is still facing the camera :(
User avatar
TattieBoJangle
Community Manager
Community Manager
 
Posts: 858
Joined: 26 Jan 2015, 00:15
Location: United Kingdom
Skill: 3D Modeller
Skill: 2D Artist
Skill: Level Designer
Skill: Great creative

Re: Character Camera

Postby SolarPortal » 29 Jan 2015, 15:38

did you press the refresh sceneEntity button with the entity selected in the scene.
It is an E button with a refresh symbol on the main toolbar.

also after rotating in the mesh editor, make sure to press the save button to overwrite the mesh data on harddrive.
then also make sure you haven't got the flip direction on lol.

This will work if done through the mesh editor.

Edit: On the camera properties, try setting the distance to a negative value, perhaps this is the problem.
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3153
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: Character Camera

Postby TattieBoJangle » 29 Jan 2015, 15:44

Setting the camera to -1.5 fixed it many thanks :)
User avatar
TattieBoJangle
Community Manager
Community Manager
 
Posts: 858
Joined: 26 Jan 2015, 00:15
Location: United Kingdom
Skill: 3D Modeller
Skill: 2D Artist
Skill: Level Designer
Skill: Great creative

Re: Character Camera

Postby SolarPortal » 29 Jan 2015, 15:49

cool np :)
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3153
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer


Return to AI

Who is online

Users browsing this forum: No registered users and 1 guest

cron