Quantcast
Channel: Answers for "Problem entering vehicle on top down 2d game"
Browsing latest articles
Browse All 4 View Live

Answer by Zargo

You could easily just add in an else statement, to check if the player is in the ship or not. Something like: void OnTriggerStay2D(Collider2D col) { if (Input.GetButtonDown ("Fire1")) { if...

View Article


Answer by MetalStorm80

Using an else statement it would work the first time but then have the original issue the second time. The way I solved it was to make a bool that you set to try when it was changed and then change it...

View Article

Browsing latest articles
Browse All 4 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>