UnityNinja Community
Would you like to react to this message? Create an account in a few clicks or log in to continue.

UnityNinja CommunityLog in

UnityNinja - Video Game Development Community, including Resources, Forums, Marketplace & More.


descriptionplayer plays animation on trigger enter  Emptyplayer plays animation on trigger enter

more_horiz

Code:

var Player : GameObject ;
var slideaudio : AudioClip;
function OnTriggerStay (other : Collider) {
if (other.CompareTag ("Player")){
Player.animation.Play("hint").speed = 0.1;

}
}

this could be helpful for cutscenes and also for simple parkour movement .... but u its really simple it just should give an idea on how it could be done

descriptionplayer plays animation on trigger enter  EmptyRe: player plays animation on trigger enter

more_horiz
Skype?
I need help With animations for an fps

descriptionplayer plays animation on trigger enter  EmptyRe: player plays animation on trigger enter

more_horiz
aj2001jkj wrote:
Skype?
I need help With animations for an fps

what kind of help ... maybe i can give u some

descriptionplayer plays animation on trigger enter  EmptyRe: player plays animation on trigger enter

more_horiz
NXTGenerationsTv wrote:
aj2001jkj wrote:
Skype?
I need help With animations for an fps

what kind of help ... maybe i can give u some


Hard to explain... Please skype me so i can try to explain

descriptionplayer plays animation on trigger enter  EmptyRe: player plays animation on trigger enter

more_horiz
aj2001jkj wrote:
NXTGenerationsTv wrote:
aj2001jkj wrote:
Skype?
I need help With animations for an fps

what kind of help ... maybe i can give u some


Hard to explain... Please skype me so i can try to explain

added you

descriptionplayer plays animation on trigger enter  EmptyRe: player plays animation on trigger enter

more_horiz
ok. i couldnt find your request on skype. Nevermind i solved it. The new unity animation system isnt as good as i wexpected it to be.

descriptionplayer plays animation on trigger enter  EmptyRe: player plays animation on trigger enter

more_horiz
NXTGenerationsTv wrote:

Code:

var Player : GameObject ;
var slideaudio : AudioClip;
function OnTriggerStay (other : Collider) {
if (other.CompareTag ("Player")){
Player.animation.Play("hint").speed = 0.1;

}
}

this could be helpful for cutscenes and also for simple parkour movement .... but u its really simple it just should give an idea on how it could be done
wow wow wow hold it now..this should be playing some crossfade animations so that you don't leave any unspecified crashing involved in unity3d's editor

Code:

#pragma strict
var Parkouranimation : Animation;
function OnTriggerEnter () {
//this is attached to the gameobject your are referencing to the parkour animation
Parkouranimation.CrossFade("Walk"), 0.1));
}

that should work, just let me know

descriptionplayer plays animation on trigger enter  EmptyRe: player plays animation on trigger enter

more_horiz
privacy_tip Permissions in this forum:
You cannot reply to topics in this forum
power_settings_newLogin to reply