- Home /
Character Controller 2D physics or raycast ??
Hey people, i have to make a massive 2D character Game limited to X and Y axis.
Which way is best for mobile devices ? the inbuilt Engine or the Raycast method ?
@Bored$$anonymous$$ormon sir could you please reply and I apologies for direct reference :(
Raycasts serve a different purpose than all the rigidbodies, colliders, joints etc. in the physics engine. You should elaborate more on what are your requirements, your gameplay, etc. For example you would use Physics2D.Raycast to simulate guns and bullets in your game. But if you don't have a shooter game then using the inbuilt rigidbody2ds and collider2ds is better.
its a simple 2D side stroller with lots of trigger. i dont think there is anykind of shooting is involved. i found about the CharacterController2D plugin made by prime31 and thinking to use it.
but then there are various tutorials out there which use physics engine, some use Raycast. and i could not decide what to use obviously because of lack of experience :)
@Evil Tak thanks. if anything else you want to suggest i would love to hear it. than you so much
Answer by EvilTak · Dec 13, 2014 at 02:51 PM
If you have a 2d side scroller I would definitely recommend usong the inbuilt physics as it provides all the functionality for a side scroller. But then again, it depends on your requirement ;)