• 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 Mr_FJ · Aug 20, 2014 at 12:31 PM · animationalphatransparentshield

Creating an animated raising "force field"?

I'm trying to create a raising force field of sorts. I have only really animated in 3DS Max, so after learning that Unity only understands bone animation, I have no clue what to do :/ I've included some screenshots of the effect I'm trying to accomplish. Any ideas? :)

Edit: Animation of what I want: http://imgur.com/qGYciz9

untitled-2.png (238.3 kB)
untitled-4.png (225.2 kB)
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

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by Cherno · Aug 20, 2014 at 01:33 PM

The pictures don't really explain what you are trying to achieve, and your description doesn't either. If you want the forcefield to actually move, you will most likely want to use Vector3.Lerp in Update(). If you want the forcefield to stay in place but show a scrolling texture, like energy barriers or something like that, you could use a custom shader that changed the UV positions of the texture. Search for "Scrolling Texture Shader" or "UV Offset Shader" in that case. By using Alpha channels, you can just show the lines.

Comment
Add comment · Show 3 · 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 Mr_FJ · Aug 21, 2014 at 07:26 AM 0
Share

Sorry, you are right. I should, and could have explained it better. I'm not looking for a looping animation, or shader, that makes it look like a a force field. I'm looking for a one time animation, that "raises" the shield. Activates it from the bottom up. Doesn't need to have any fancy effects.

Here is an example on Youtube (Ignore the glowy effects): youtube.com/watch?v=lbmCUajbmG$$anonymous$$

And a gif animation, I made, of the animation in 3ds $$anonymous$$ax: http://imgur.com/qGYciz9

I hope you understand :)

avatar image Cherno · Aug 21, 2014 at 07:45 AM 0
Share

Nothing is impossible, but I can't think of an easy way of doing what you want to achieve.

avatar image Mr_FJ · Aug 21, 2014 at 08:18 AM 0
Share

Thanks for your attention any way. Hopefully someone else, has the answer(s) I need :)

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Create light shapes on plane using C# (similar to the game Closure) 2 Answers

A node in a childnode? 1 Answer

How do I Import Alpha Textures... with GIMP. 2 Answers

Exporting Group Animation From Maya to Unity3D 1 Answer

Tree leaves are only one sided 0 Answers

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