• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges

Transform.forward

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

GreatCorn commented

transform.forward doesn't correspond to rotation

Aug 8, '18 camera·vector3·raycasting·direction·transform.forward

1 Reply

0 Votes

avatar image

Hoeloe commented

Transform.Forward dosen't work consistently

Sep 4, '13 transform.forward

1 Reply

0 Votes

avatar image

B-R-J commented

Using Raycasts along object axis

Jan 13, '18 raycasting·raycasthit2d·transform.forward

1 Reply

0 Votes

avatar image

AngryBurritoCoder answered

Fire bullet in camera direction problem

Nov 13, '14 instantiate·bullet·transform.forward

3 Replies

0 Votes

avatar image

thinmanroad edited

Space Shooter - Asteroids moving randomly

Jan 10, '18 in Help Room

1 Reply

0 Votes

avatar image

samqweqwe published

Error: NullReferenceException: Object reference not set to an instance of an object

Jul 29, '14 quaternion·nullreferenceexception·lerp·transform.forward

1 Reply

0 Votes

avatar image

NikLaws commented

Transform.forward inaccurate.

Oct 20, '19 rigidbody·transform·transform.forward

1 Reply

-1 Votes

avatar image

Pangamini commented

how to find forwards,right,up component of a velocity

May 24, '19 3d·vector3·velocity·rigidbody.addforce·transform.forward

2 Replies

0 Votes

avatar image

KittenSnipes answered

How do I add force to rigidbody when raycast hits it.

May 20, '18 c#·rigidbody·raycast·component·transform.forward

1 Reply

0 Votes

avatar image

MaxGuernseyIII commented

transform.localPosition += transform.forward moves object toward (0, 0, 0)

Sep 1, '17 in Help Room

2 Replies

0 Votes

avatar image

AzzyDude24601 edited

Trying to position a world space menu in front of the camera whilst ignoring the camera's tilt angle

Mar 12, '18 transform.position·worldspace·transform.forward·world space

1 Reply

0 Votes

avatar image

rexxthunder published

Trouble with rb.Addforce(transform.foreward)

Dec 4, '16 rigidbody·instantiate·velocity·rigidbody.addforce·transform.forward

3 Replies

0 Votes

avatar image

TheKnightsofUnity answered

make 2d character move direction its facing

Jul 21, '18 if statement·transform.forward

1 Reply

0 Votes

avatar image

melkorinos edited

3rd person game player movement

Feb 23, '15 player movement·transform.forward·local axis

1 Reply

0 Votes

avatar image

Alamarche edited

How do you maintain gravity using transform.forward and transform.right?

Dec 20, '15 in Help Room

0 Replies

0 Votes

avatar image

PeacefulWhale answered

transform.forward with rotation offset variable? Closed

Aug 21, '18 in Help Room

1 Reply

0 Votes

avatar image

lgarczyn edited

raycasts and vehicle traffic

Jan 21, '20 raycast·vehicle·standard-assets·transform.forward·traffic

1 Reply

0 Votes

avatar image

yuxiaoqun answered

How Unity define transform.forward of humanoid avatar with root motion?

Jun 4, '18 mecanim·avatar·root motion·humanoid·transform.forward

2 Replies

0 Votes

avatar image

Baste commented

Transform.forward is constantly changing when it shouldn't. Closed

Mar 20, '15 transform.forward

0 Replies

1 Votes

avatar image

firepro20 answered

Rotate AI towards nearest target within sphere collider

Oct 15, '19 transform.position·ontriggerstay·rotatetowards·transform.forward·vector3.distance

2 Replies

0 Votes

avatar image

BluePyramid commented

How to find the direction an object is flying in?

May 22, '19 rotation·direction·transform.forward

2 Replies

0 Votes

avatar image

Section-One edited

transform.forward doesn't seem to be right?

Dec 16, '16 in Help Room

2 Replies

0 Votes

avatar image

BankShotZombies commented

Throwing knife goes straight

Oct 19, '18 rigidbody·velocity·direction·transform.forward·straight

1 Reply

0 Votes

avatar image

B-R-J asked

MagicaVoxel Axis difference in Unity

Jan 19, '18 axis·importing assets·transform.forward

0 Replies

0 Votes

avatar image

Oribow commented

How do you use Add.Force() to fly in the mouse-inputted direction?

Jul 17, '15 force·plane·transform.forward

0 Replies

0 Votes

avatar image

aldonaletto edited

how to get the GameObject[] that my player touching

Jul 8, '17 c#·array·transform.forward

3 Replies

0 Votes

avatar image

K-Anator answered

Truck moves sideways when using transform.forward

May 10, '19 transform·object·moving·forward·transform.forward

1 Reply

0 Votes

avatar image

ibashdup commented

Apply acceleration and Decceleration to transform.forward?

Jun 14, '19 movement·charactercontroller·acceleration·transform.forward

1 Reply

0 Votes

avatar image

xxmariofer commented

Convert current rigidbody velocity to transform.forward

Sep 23, '19 movement script·rigidbody.velocity·transform.forward

0 Replies

0 Votes

avatar image

kylecat6330 commented

How edit transform.forward value ?

Jun 30, '20 raycast·transform·mouse·rotation axis·transform.forward

0 Replies

0 Votes

  • ‹
  • 1
  • 2
  • 3
  • 4
  • ›

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Related Topics

transform transform.position rigidbody rotation direction velocity raycast vector3 forward c# rigidbody.velocity instantiate raycasting addforce transform.lookat transform.translate rigidbody.addforce movement rotation axis movement script projectile quaternion rigidbody2d nullreferenceexception axis


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges