• 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
  • Home /
avatar image
0
Question by Ali · May 06, 2010 at 11:03 AM · angletiltrampskateboard

Skateboard tilting problem

I want to create a skateboarding game using Unity. I want to make the skateboard follow the terrain (For example when the player goes up a ramp the board / player will tilt at the same angle as the ramp.) Instead of running into the ramp at a 90 degree angle.

Any tips would be great. Thanks.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
3

Answer by StephanK · May 06, 2010 at 11:14 AM

Doing raycasts down from your board you can get the normal of the surface underneath it. You can use this to calculate the correct orientation for the board.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by GameFreak · Dec 29, 2011 at 12:29 PM

I have a perfect solution for you. The skateboarding tutorial at design3.com :)

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image formidable · May 06, 2012 at 06:34 PM 0
Share

@GameFreak Where on the site can I find the skateboard tutorial? Thanks

avatar image cupsster · Jun 19, 2012 at 12:00 PM 0
Share

http://www.design3.com/training-center/engines-sdks/unity/mobile/mobile-skater-game

avatar image
0

Answer by dmshahed · Oct 06, 2020 at 10:13 AM

I am searching for something like you. But not found a satisfying solution yet. Hope someone will solve the problem soon. I am checking the skateboards blog to get the solution

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Skateboarding Game 2 Answers

how to make a skater fly of a ramp to the air problem 0 Answers

Tilt character when rotating 0 Answers

I want to make tilt angle lock.. 3 Answers

can anyone help me ? how to make a tilt view like labyrinth2 ????? 3 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges