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?

Discord

Statistics

Members
Total Members: 55066
Latest: sla mano ninja
New This Month: 9
New This Week: 0
New Today: 0
Stats
Total Posts: 55808
Total Topics: 3274
Most Online Today: 2239
Most Online Ever: 16063
(June 06, 2025, 06:06:01)
Users Online
Members: 0
Guests: 2048
Total: 2103
Google (AdSense) (2)
Google (11)
Baidu (42)

Author Topic: Creating a collider (mesh or box) that adjusts itself based on the Animation  (Read 16570 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

Jutsu Initiation by mamita
December 25, 2025, 05:42:13

Ideas for the history!! by mamita
December 25, 2025, 05:40:26

Crowd Funding by mamita
December 25, 2025, 05:37:45

Territories, clans, etc by mamita
December 25, 2025, 05:36:41

Jutsu input by mamita
December 25, 2025, 05:31:16

Heeey by mamita
December 25, 2025, 05:28:10

Defrosting SLO with icy tunes by mamita
December 24, 2025, 13:25:51

Switching from PS4 to Xbox by mamita
December 24, 2025, 12:01:18

Interlining Factory Excellence by Interlining-Factory Empowering Fabric Innovati by mamita
December 23, 2025, 22:53:23

Kami Senshi by mamita
December 21, 2025, 06:34:23

Top Posters

Mars
Posts: 2637
Reminance
Posts: 2232
Shivraj
Posts: 1610
m4r1us
Posts: 1298
Manuster
Posts: 1265
NinjaMirage
Posts: 1165
Nova
Posts: 1139
taigakun
Posts: 1091
Fraudulent
Posts: 1084
Konohuro
Posts: 1056