Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 /
avatar image
0
Question by Square Monkey · Jan 13, 2014 at 02:44 PM · animation3dmaya

School Assessment

Hello Users,

I'm trying to get on to the bachelor education of International Gaming and Architecture design in the Netherlands. The assessment I have to make is the following. Create a Game Concept with the theme sleep. Building a prototype will increase your chance of being accepted So building a prototype is a must!

Now I've got the idea of sleepwalking children with a horror aspect attached. The father will wake up in the middle of every night around the same time to find his children sleep walking and doing all kinds of dangerous activity's.

The main goal of the character is to escort the children back to bed. This will be accompanied by a "asleep" meter which tells you if you are pushing the children to hard so they will wake up.

Now my question is: How do I write/design a function (in c#) to make my main character grab on to one of his children's shoulders?

I'm currently working out the meshes and trying to push myself through the animations but the grabbing onto is the main part of the prototype. This can be one handed or a 2 handed grab onto.

I tried searching through the scripting reference but since I'm not a native english speaker it's hard for me to find the actual code.

Sorry for the long question but if someone could point me in the right direction, with the scripting and the animating part, that would be awesome.

Thanks in advance!

Comment
Add comment · Show 1
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 Owen-Reynolds · Jan 13, 2014 at 02:54 PM 0
Share

If it's a prototype, don't bother with animation. The big green father cube will "snap" the smaller yellow kid cube. Just set the the child's parent to the cube parent, and set local position. Work on getting a barely functioning meter, so you have some gameplay. Have the child just stand in the kitchen, for now, waiting to be grabbed.

That is, if you're a programmer. If you're a modeller, maybe just make a gentle-shoulder-grab animation, and don't use Unity at all. If you're a level designer, figure out how the game gets more difficult. If you're an artist, make pen&paper concept art for the various nightmares.

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by HappyMoo · Jan 13, 2014 at 02:46 PM

What you need is inverse kinematics, which is a pro feature. But there's a free solver on the assetstore: http://www.assetstore.unity3d.com/#/content/1829

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
avatar image
0

Answer by Square Monkey · Jan 13, 2014 at 06:00 PM

Ok I understand. However I'm choosing the direction Indië Game Developer. So that's programming designing and level designing. So with that said I'm thinking about doing a 1st person controller with arms attached to a cylinder. One arm will hold a oil lamp and the other arm will be for grabbing. But the problem is the coding. I can't seem to find a grabbing code where i move another gameobject with a button press(like "e").

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

20 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

Related Questions

Export Maya Animations to Unity But It Shows Nothing 0 Answers

How they doing the animations with a ball in a soccer game? 1 Answer

Can I make animations snap to a frame? 1 Answer

Unity 4 animations 0 Answers

Animation Issue 0 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