Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 Jun 22
sparklines
Close Help
  • 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 /
  • Help Room /
avatar image
1
Question by ajupiter95 · Apr 14, 2016 at 12:25 PM · characterfreezerespawnbodymodel placement

Dead Body Buildup

Hi everyone,

I'm in the process of creating a small slender man type game in which you travel through a cave while being hunted by Medusa.

My idea is to have Medusa turn the player into stone once she catches them. The character will slowly freeze into whatever position they're in. The character will then respawn, but I DON'T want the body to vanish, I want their frozen model to still be in the same spot when they return.

So for example if you die twenty times in different areas throughout the cave, I want the player, once they respawn, to be able to go back and see twenty frozen models of themselves in each area they died.

I just wanted to know if there is a script that could help make this possible I'm still at very early stages of making this game. I'm horrible at explaining things, so if there is any additional information needed just let me know

Thanks

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

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by theANMATOR2b · Apr 15, 2016 at 04:45 AM

This is a cool idea. It will be a treat for the players to see the dead "turned to stone" corpes of the previous play throughs.

Im strictly an artist so I know no code to help you out - however I think a good implementation to this idea is to swap out the rigged character with a duplicate non-rigged static mesh of the character. The static mesh will be in the pose the character turned to stone but have no rigging and will be only a mesh with a collider instead of a skinned character model along with a stone looking texture swap.
This should free up some resources a bit.

To ease the complication of infinite possible death/stone poses - Id create 6-8 death cycle animations and create 6-8 static mesh snapshots of the last frame of the animation cycle. This snap shot mesh will be the static mesh statues when the level resets. Randomize the death sequence so each death isnt the same pose.

Interesting idea - is this going to be a runner?

Comment
Add comment · Show 1 · 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 ajupiter95 · Apr 16, 2016 at 05:47 AM 0
Share

Thanks these are great tips to help me get started. I'm trying to $$anonymous$$ch myself how to use unity by watching tutorials. I was planning on making it an exploring/suspense type game.

avatar image
1

Answer by Highwalker · Apr 16, 2016 at 08:48 AM

Is this a 2D or 3D game? If it's a 2D game using simple sprites, it's pretty straight forward and easy. For a 3D game it would be more complex.

If it is a 2D game. Create an empty sprite prefab. And then do

 public Color stoneColor;
 
 void Petrify () {
         GameObject stoned = new emptySprite;
         SpriteRenderer stoner = stoned.GetComponent<SpriteRenderer> ();
         SpriteRenderer player = GetComponent<SpriteRenderer> ();
     
         stoner.sprite = player.sprite;
         stoner.color = stoneColor;
     
         Instantiate (stoned, transform.position, transform.rotation);
     }

Comment
Add comment · 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

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.

Follow this Question

Answers Answers and Comments

61 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Render only arms of the whole body 0 Answers

Problem whit rigging 1 Answer

how to make bones for my character and move them? 2 Answers

Error CS1525 in Unity 5.5.1 (Urgent) 1 Answer

Character Creation 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges