Project

General

Profile

Bug #2512

Animations throughout KSP use Play mode instead of the appropriate Blend mode

Added by Greys almost 10 years ago. Updated over 8 years ago.

Status:
Closed
Severity:
Unworthy
Assignee:
-
Category:
Camera
Target version:
-
Start date:
06/04/2014
% Done:

100%

Version:
Platform:
Any
Expansion:
Language:
English (US)
Mod Related:
No
Votes:
Arrow u r green
Arrow d r red

Description

When playing an animation clip Unity offers several modes, Animation.Play() and Animation.Blend() are two of them, with the primary difference being that Blend() permits multiple animations to run on a gameobject at the same time, while Play() will stop any previously playing animations and frequently does so in weird ways.

More reading here:
http://docs.unity3d.com/ScriptReference/Animation.Play.html
http://docs.unity3d.com/ScriptReference/Animation.Blend.html

As an example, a lamp with adjustable focus, one animation activated the lamp and proceeds through a brightening curve, a second animation manipulates the range, brightness, and angle of the lamp. Using Play() to do this, the lamp would be able to turn on and off just fine, and you could manipulate it's focus just fine; but you could not manipulate it's focus while it's on, or turn it on while it's focus is at any value other than the starting position.

It's possible this analogy is flawed, the community will correct me if necessary.

History

#1 Updated by Majiir almost 10 years ago

  • Status changed from New to Confirmed
  • % Done changed from 0 to 10

#2 Updated by sal_vager over 8 years ago

  • Status changed from Confirmed to Closed
  • Severity changed from Normal to Unworthy
  • % Done changed from 10 to 100

Using Play() isn't a bug.

Also available in: Atom PDF