I was working on a module for creating actual 2 dimensional projectiles. (Basically Gui Raycasting) I would like to show you its progress!
The module is coming soon
Why did I do this?
Currently, there are little to no resources for people who want to make actual 2D physics and game, and thats why I have started creating them for you all!
Another problem that comes to default roblox gui physics is that: Position of the objects do not change according to its rotation which causes problems when making tweens to create projectiles. Working with absolutePosition is not a piece of cake for everyone hence this module!
How it works:
When rotating the “gun”, the Red Colored Direction depicting ray moves along with it, when we left click, the same ray is cloned into another ray which will be the path the bullet travels on. When the ray and the bullet are created, the bullet is tweened linear to the cloned ray and you see the projectile move!
Damage and collisions will be included in the module’s release
If you want, be sure to put some feedback, suggestions, questions down below! Any form of feedback is appreciated!