Important News

We have released Shinobi Life Online Pre-Alpha Version 1.1.0.0! This update features Earth Release: Earth Dome Jutsu, Aiming Mode and more! Try it out and tell us what you think.

User

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

Statistics

Members
Total Members: 49078
Latest: 8-BIT
New This Month: 7
New This Week: 8
New Today: 7
Stats
Total Posts: 55910
Total Topics: 3347
Most Online Today: 411
Most Online Ever: 4232
(January 14, 2020, 07:47:33)
Users Online
Members: 1
Guests: 393
Total: 400
8-BIT
Google (6)

Author Topic: Creating a collider (mesh or box) that adjusts itself based on the Animation  (Read 1204 times)

0 Members and 1 Guest are viewing this topic.

Offline Kakashi Natsu

  • Chunin Poster
  • ***
  • Posts: 141
  • Reputation Power: 2
  • Kakashi Natsu has no influence.
  • Gender: Male
  • Give up trying to make me give up.
    • View Profile
  • Clan: Agni
Hello guys,


I have checked youtube, unity and other sources to see if i can get some answers. But there really aren't any tutorials for what i need.


I have a character that i have animated and i have baked pose for root transform(y) for the animations i have,that way regardless of the animation i play, he will always be touching the ground according to where his feet are. The only issue is, how would i go about attaching a rigidbody so he stays on the ground via a Mesh collider for the collision. The rigidody is to keep him grounded while the collider is to stop him when he is on the ground. I attached both, but he just falls through the floor when i click play. if he has neither he runs the animations like he is suppose to(moving based off the animation, did not loop pose), feet touching the ground or not depending on the animation. Does it have to do with Convex or something?



if i attach a box collider with a rigidbody, he stops falling and its fine, how would i do it with a mesh collider. note: the mesh of the colldier is not the whole body. i have separet meshes for each part. shoes, hair, body etc.


if you want a video or something, i can provide one.
(No question is a stupid one, only a stupid answer)

« Last Edit: September 18, 2016, 22:02:11 by Kakashi Natsu »



Offline Konohuro

You may want to resize your clan logo, otherwise we won't be able to see your whole message.


 

Recent Topics

The Lie That Never Lived: Shionbi Life Online by AY0
May 30, 2020, 23:39:33

Hello there by Jamezoar
May 27, 2020, 16:08:26

General discussion by Ken
May 25, 2020, 01:18:00

The Annual SLO "Naruto-Sasuke" Thread: Attempt 1 by Ken
May 25, 2020, 01:17:24

Why you can't have a second shinobi life in the naruto world. by NinjaMirage
May 18, 2020, 14:15:25

Stuff yall are gonna hop on my a** for by Nova
May 01, 2020, 19:16:50

Raiu by Shivraj
April 24, 2020, 13:44:06

Kami Senshi by jedikan
April 21, 2020, 22:11:28

Character diversity/summoning by Kassglas
April 03, 2020, 06:33:08

Yūrei by Lumi
March 27, 2020, 15:23:41

Top Posters

Mars
Posts: 2649
Reminance
Posts: 2245
Shivraj
Posts: 1611
m4r1us
Posts: 1298
Manuster
Posts: 1270
NinjaMirage
Posts: 1166
Nova
Posts: 1152
taigakun
Posts: 1099
Fraudulent
Posts: 1098
Konohuro
Posts: 1060