Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 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 bubblegumsoldier · May 27, 2011 at 12:26 PM · objecttimechilddelayshift

weapon bobbing

HI GUYS

I saw a few videos about some games where the child object doesn't move exactly at the same time as it's Main Object. So there's kind of delay or time-shift. I tried this with animations and a few other things... but is there a code on how to delay the child objects... Here are some games or videos:

http://www.youtube.com/watch?v=byav2QpYdEk http://www.youtube.com/watch?v=Akr-KEJRN3c

Comment
Add comment · Show 6
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 Santa · May 27, 2011 at 12:57 PM 1
Share

The question is unintelligible. What exactly in the videos you are interested in?

avatar image Joshua · May 27, 2011 at 01:04 PM 2
Share

The question makes sense, but the videos seem unrelated. In answer: just don't child them then but make them follow the parent with a delay. Child means the parent transform directly influences the child's transform.

avatar image GesterX · May 27, 2011 at 01:05 PM 2
Share

Can you include the $$anonymous$$utes/seconds where the effect happens in the video. How do you even know the objects are parent/child?

avatar image bubblegumsoldier · May 27, 2011 at 01:33 PM 0
Share

well I don't really know if the weapons are child objects but I think so because in many fps games it's like this. By the way this effect happens almost every time when the guy who is playing moves the mouse. You can see this at the avert fate video very good. The weapon has a bit of rotation. And how does this delay function like Joshua said work? Thx for the comments

avatar image Bunny83 · May 27, 2011 at 02:46 PM 0
Share

That's not a delay. You talk about the weapon-bobbing. You have to use either an animation and animate it the way you want it or write a script that moves the weapon this way if you walk.

You could have mentioned that you talk about the weapon.
Ask specific questions !

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by bubblegumsoldier · May 28, 2011 at 11:06 AM

so how can I do weapon bobbing.

Comment
Add comment · Show 5 · 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 save · May 28, 2011 at 11:16 AM 1
Share

You did a nono henry as this is not an answer to your question. :) I'd do bobbing with additive animations to go easy on the CPU.

avatar image bubblegumsoldier · May 28, 2011 at 11:35 AM 0
Share

so how do you mean that and sorry for the answer I just wanted that somebody sees this at the questions. What are additive animations? and where and how can I put this in the code... how do the animations have to look like?

avatar image save · May 28, 2011 at 11:39 AM 1
Share

The additive is to be able to transform back to an idle animation anywhere in your current animation. The animations would be easier to create in a 3d-modelling program such as 3d Studio, $$anonymous$$aya, Blender or Cinema 4D. I suggest you take a look in the reference: http://unity3d.com/support/documentation/$$anonymous$$anual/Animation%20Scripting.html

avatar image bubblegumsoldier · Jun 04, 2011 at 12:07 PM 0
Share

sorry but I didn't understand that very good...

avatar image bubblegumsoldier · Jun 04, 2011 at 12:35 PM 0
Share

I could maybe give u my look round script and then you could add the right codes to the right place in the script and tell me which animations I need...

here's the code in an url:

http://spetools.de/code/e1d2a8a076be14d979157ffb8b8f5d93

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

1 Person is following this question.

avatar image

Related Questions

Cycle Textures Over Time 2 Answers

Delaying a dynamic Variable(transform.position for Ex.) 2 Answers

Have a delay after each jump, so user cant spam jump 3 Answers

Touch Lag With S2 1 Answer

Do something every 0.5 seconds 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