- Home /
 
               Question by 
               Monsterwald · Jul 21, 2021 at 01:11 AM · 
                platformhingejoint2d  
              
 
              Unsing a swinging object, attached to a hinge joint as swinging platform?
How do I do that? I made a simple code, so my player is a child object,
             if (hit.gameObject.CompareTag("Platform"))
             {
                 transform.parent = hit.transform;
             }
like on a moving platforms but that does not work with objects with a hinge joint 2D. The player just stays in place.
               Comment
              
 
               
              Your answer
 
 
             Follow this Question
Related Questions
Rigidbody on a platform 2 Answers
Moving Platform Troubles 0 Answers
Multiplayer - Other players shaking back and fourth on moving platform 2 Answers
How do I create a place for my characters to stand? 1 Answer
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                