Raycasting alternative

This says, at the end, that ray casting is not current supported. Is there any other way I can use ray casting in my game? [import]uid: 76405 topic_id: 34935 reply_id: 334935[/import]

What do you need it for? [import]uid: 33275 topic_id: 34935 reply_id: 138827[/import]

Well, I am the co-creator of game “Sticky Destroyer” and it was initially intended to be a game for PC’s but now I have shifted the project to be created on mobile devices first. This is a screenshot of what I used using the box2d raycasting: 1,2 [import]uid: 76405 topic_id: 34935 reply_id: 138829[/import]

Well, I am the co-creator of game “Sticky Destroyer” and it was initially intended to be a game for PC’s but now I have shifted the project to be created on mobile devices first. This is a screenshot of what I used using the box2d raycasting: 1,2 [import]uid: 76405 topic_id: 34935 reply_id: 138830[/import]

Could you elaborate more on what you need the raycasting for? [import]uid: 169884 topic_id: 34935 reply_id: 138842[/import]

Okay, I use an algorithm to show the trajectory of where the character will fly to, including gravity and weight. I use raycasting to stop showing the rest of the line if the line of trajectory hits a physics object. [import]uid: 76405 topic_id: 34935 reply_id: 138844[/import]

The only thing I can think of is to manually draw the trajectory and use some sort of table to check if it collides with anything. You game seems pretty modular so if you hold a 2D table with just 0s and 1s, that should be able to give you what you need. [import]uid: 169884 topic_id: 34935 reply_id: 138850[/import]

What do you need it for? [import]uid: 33275 topic_id: 34935 reply_id: 138827[/import]

Well, I am the co-creator of game “Sticky Destroyer” and it was initially intended to be a game for PC’s but now I have shifted the project to be created on mobile devices first. This is a screenshot of what I used using the box2d raycasting: 1,2 [import]uid: 76405 topic_id: 34935 reply_id: 138829[/import]

Well, I am the co-creator of game “Sticky Destroyer” and it was initially intended to be a game for PC’s but now I have shifted the project to be created on mobile devices first. This is a screenshot of what I used using the box2d raycasting: 1,2 [import]uid: 76405 topic_id: 34935 reply_id: 138830[/import]

Could you elaborate more on what you need the raycasting for? [import]uid: 169884 topic_id: 34935 reply_id: 138842[/import]

Okay, I use an algorithm to show the trajectory of where the character will fly to, including gravity and weight. I use raycasting to stop showing the rest of the line if the line of trajectory hits a physics object. [import]uid: 76405 topic_id: 34935 reply_id: 138844[/import]

The only thing I can think of is to manually draw the trajectory and use some sort of table to check if it collides with anything. You game seems pretty modular so if you hold a 2D table with just 0s and 1s, that should be able to give you what you need. [import]uid: 169884 topic_id: 34935 reply_id: 138850[/import]