Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 11 Next capture
2021 2022 2023
1 capture
11 Jun 22 - 11 Jun 22
sparklines
Close Help
  • 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 /
This question was closed Jul 24, 2017 at 06:58 AM by NoseKills for the following reason:

Too subjective and argumentative. UA is meant for specific technical questions.

avatar image
0
Question by Loff · Jul 07, 2015 at 03:09 AM · 2dfootball

Football - 2D

Hello,

I'm trying to learn about physical things and I wanna try to make a football game kind of. It's not gonna be advance, it's just about learning the basics mostly. So as the player uses CTRL to kick, the football doesn't react in a good way etc! I have tried a lot of different things with the colliders. The game is 2D by the way, using the Robot Guy controller from Unity Assets.

Any suggestion on making a decent football physic?

Test and see what I mean: CTRL to Kick

Link to scene

Please ignore the broken animation and graphics :)

Comment
Add comment · Show 2
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 NoseKills · Jul 24, 2017 at 07:02 AM 0
Share

The question is not specific enough to give a proper answer to :/

You can learn the basics by following the tutorials

When you have a problem you can single out, please make a new question about it and preferably show us the problematic bits of code.

Ifbyou need to have a discussion about how to make a specific kind of game, please use the Unity forums ins$$anonymous$$d.

avatar image Loff NoseKills · Jul 26, 2017 at 09:55 PM 0
Share

Try not to bump a 2 year old thread mate.

1 Reply

  • Sort: 
avatar image
0

Answer by el_kontexo · Jul 26, 2017 at 02:25 PM

(Your link seems to be broken. ) If you add a rigidbody to your football (if it doesn't already have one) you can use Rigidbody2D.addForce(); to move it. You can use e.g. a trigger Collider that is slightly larger than the player to detect if the ball is next to the player. Couple these two techniques and you should get something cool :)

Here is a link to the documentation for AddForce() https://docs.unity3d.com/ScriptReference/Rigidbody2D.AddForce.html And here is a decent tutorial on how to implement it: https://www.youtube.com/watch?v=Di0JOpwTZZU

Good luck!

Comment
Add comment · Show 1 · 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 Loff · Jul 26, 2017 at 09:54 PM 0
Share

this post is over 2 years old, it was bumped by Nose$$anonymous$$ills for some reason 2 days ago. Link is broken because the website doesn't exist anymore. I'm a lot more knowledge with Unity today but thanks for replying & helping out even if it's kinda late, Such a 'bad memory' thread ;)

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

2D Animation does not start 1 Answer

Assets/Scripts/PlayerController.cs(32,49): error CS0126: An object of a type convertible to `float' is required for the return statement 1 Answer

PlayOneShot not playing sound 1 Answer

Animator - Stoping && Playing from Specific frames. 5 Answers

I've lost a 2D Animation Script 1 Answer


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