Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

igooose/Unity-TPCamera

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎥 TPCamera

TPCamera is a simple third person camera system for unity project.

TPCamera Preview

🔗 Download

download unity package: 👉 TPCamera.unitypackage 👈

âš™ Installation

  1. Download and import the unity package into unity project.
  2. Put TPCamera.cs on camera object.
  3. Assign object to follow into Follow attribute.
  4. Assign object to look at into Look At attribute.

TPCamera Installation Demo

🧩 Attribute

Adjust the following attributes to affect the camera movement.

Attribute Type Description
Target
Follow Transform Target to follow.
Look At Transform Targer to look at.
Look At
Look At Offset float Look At's offset position.
Position
Max Distance float Maximum distance to target.
Smooth Damp float Smooth the movement, set valut to 0 will disable smooth.
Rotation
Yaw Sensitivity float Affect yaw soeed.
Pitch Sensitivity float Affect pitch speed.
Min Pitch float Minimum pitch rotataion
Max Pitch float Maximum pitch rotation
Obstacle Detection
Avoid Obstacle bool Enable or disable obstacle detection.
Obstacle Layer LayerMask Specifies layers as obstacle.
Distance to Obstacle float Distance to obstacle hit point.
Height to Obstacle float Distance to obstacle in y axis.

About

🎥 Third person camera system for unity project.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.