Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 /
avatar image
0
Question by Droken · Jun 27, 2012 at 05:18 AM · physicsfpsprojectilearrowbow

Questions about a Bow and Arrow FPS setup

So what I'm currently doing is I'm animating a bow and an arrow both as one object, creating an animation for the load, load_standby, and launch. Now what I'm curious about is how I can turn the arrow into a projectile without it just being a solid piece of wood flying straight ahead, with no collision or anything of the sort (being as right now my launch will consist of the arrow leaving the bow and just flying straight forward, and when the animation ends, the arrow disappears). I have a basic knowledge of programming, but nothing complex. If there is a script out there I could be recommended to, that would be preferable.

Comment
Add comment · Show 1
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 MickM · Aug 11, 2012 at 01:56 PM 0
Share

There is a good FPS tutorial which I used for my first test/play around/learn by doing (post basic tutorial) which fires a pre fab projectile out from first person view.

http://download.unity3d.com/support/resources/files/FPS_Tutorial_1.pdf

I think if you work through that (the first part at least; to get the projectile fired) it should give you a good base to work from!

It covers setting up the spawn/release point, ensuring it doesnt register a collision with the player as you fire etc so was quite helpful for me! I have only been playing around with unity for a few days so take my thoughts with a grain of salt!!!

Hope it helps a bit though - good luck!

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by TheDavil86 · Aug 11, 2012 at 03:23 PM

You'll need to take the model of the arrow away from the bow and make a separate model of that also. And then you'll need to create a prefab of the arrow that has the proper colliders and scripts set up so that when it hits something it does whatever you want. I'd suggest following the tutorial recommended above as it will guide you through setting up a basic weapon that shoots spheres, and instead of the sphere just use your arrow model.

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.

Follow this Question

Answers Answers and Comments

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Projectile collides, freezes, but flips to weird angle. Help! 0 Answers

Click to Shoot 1 Answer

nstantiate the arrow at the bow's position with the bow's rotation, give it a velocity, when it hits something, disable its movement. 1 Answer

Projectile(Arrow) angle during flight is not realistic 1 Answer

Projectile motion of an arrow after applying force 3 Answers


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