- Home /
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!
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.
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
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").
Your answer
Follow this Question
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