Jump to content
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.

  • 0
Sign in to follow this  
ShaNexx

Horror help!

Question

Hello everyone again,

The fear game which I've been developing is nearly complete. But the problem is I couldn't add the fear object. Is there anyone who help me with the script animation like suddenly closing doors or fear tecniques just like in the fear games?

Thanks in advance.

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

You can use a simple trigger and when the player passes through - nearly door, a script will change XYZ of the mobile part, but the easiest way is to make a door closing or opening animation and play it by script when triggered ( use Please login or register to see this link. and Please login or register to see this link. ). Where's the problem ? Can you explain plz ? In FPSkit 1.3.5, you will find an example, a code to use trigger OnCollisionEnter (monster's instantiation) ++

Share this post


Link to post
Share on other sites

  • 0

@gekoo triggers use OnTriggerEnter, collisions use OnCollisionEnter, controller collisions use OnControllerColliderHit.

Share this post


Link to post
Share on other sites
  • 0

Yes. I made a mistake in terms, but I think he understands the explanation exposed.

Trigger or triggered are for me a generic term for the same result in this case...

You're right. We must differentiate functions ++

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...