This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

OneManArmy

Script for weapon (delay effect)

105 posts in this topic

I dont know if i can ask this but.I had tried to write my own scripts as posibly as i can. Now i wanted to give this a try. 

It works perfectly in unity5.

I have many objects in my scene some of them have animations. This script does work on normal objects without animation but i have to use animations like idle and shoot. These motions have only keyframes with rotation.

This script doesnt work with animatons which have position keyframes. I dont know how to manage this. Also if i have two anims in the animator(one with only rotation the other one with pos and rotation) it doesnt works.

Share this post


Link to post
Share on other sites

Probably not because he last logged in a year, and the post was made 2 years ago

1 person likes this

Share this post


Link to post
Share on other sites

Is it possible to make this work with a animation playing on the same object?

Share this post


Link to post
Share on other sites
Please login or register to see this quote.

Update() change to LateUpdate()

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now