SA-MP Forums Archive
[Include] [alpha] Objects Physics - Handle objects collisions and more. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] [alpha] Objects Physics - Handle objects collisions and more. (/showthread.php?tid=446286)

Pages: 1 2 3 4


Re: [alpha] Objects Physics - Handle objects collisions and more. - davve95 - 26.06.2013

Very nice!


Re: [alpha] Objects Physics - Handle objects collisions and more. - Flyfishes - 26.06.2013

This is sick! As someone else mentioned, I was thinking about pool and bowling (with fences) when watching this.


Re: [alpha] Objects Physics - Handle objects collisions and more. - PeppeAC - 26.06.2013

I added to Github repository a demo gamemode: pool game.
It is very very basic, only to show the potential of the include.
It spawns out of a bar in Las Venturas. Enter it and enjoy.
Use: /movefirst <speed> to move the first ball, /move <id> <speed> <angle> to move another ball.
Obviously you can edit this gamemode to create a proper and fun pool game.


Re: [alpha] Objects Physics - Handle objects collisions and more. - Memoryz - 26.06.2013

This is looking good, do you expect to add automatic support for CreatePlayerObject?


Re: [alpha] Objects Physics - Handle objects collisions and more. - PeppeAC - 26.06.2013

Quote:
Originally Posted by Memoryz
View Post
This is looking good, do you expect to add automatic support for CreatePlayerObject?
I should, despite it isn't hard to do.


Re: [alpha] Objects Physics - Handle objects collisions and more. - PeppeAC - 26.06.2013

Pool game demo:
[ame]http://www.youtube.com/watch?v=G_zYQBLI6ow[/ame]

Script available on Github.
As I said it is very basic, only to show the potential of the include. I know that a pool script with commands sucks, in fact I did for my server a better one, more interactive and with more features, similar to the Single player one.


Re: [alpha] Objects Physics - Handle objects collisions and more. - Maran3llo - 26.06.2013

Very good, Peppe.


Re: [alpha] Objects Physics - Handle objects collisions and more. - Excelâ„¢ - 26.06.2013

Brilliant, thats really useful.


Re: [alpha] Objects Physics - Handle objects collisions and more. - PeppeAC - 27.06.2013

Pool game video was set to private and I didn't know it.
Now I fixed it.
[ame]http://www.youtube.com/watch?v=G_zYQBLI6ow[/ame]


Re: [alpha] Objects Physics - Handle objects collisions and more. - Niko_boy - 27.06.2013

really amazing ! ,nice work very very nice work!


Re: [alpha] Objects Physics - Handle objects collisions and more. - Manolito - 20.10.2013

Very nice!


Re: [alpha] Objects Physics - Handle objects collisions and more. - leong124 - 29.10.2013

It'll be great if this can support streamer plugin (infinite objects).


Re: [alpha] Objects Physics - Handle objects collisions and more. - TheArcher - 29.10.2013

Quote:
Originally Posted by leong124
View Post
It'll be great if this can support streamer plugin (infinite objects).
Many people mistakes the fact that the STREAMER plugin doesn't allow you to create INFINITE objects but just streams the object when a player is nearby.


Re: [alpha] Objects Physics - Handle objects collisions and more. - Pottus - 29.10.2013

Quote:
Originally Posted by TheArcher
View Post
Many people mistakes the fact that the STREAMER plugin doesn't allow you to create INFINITE objects but just streams the object when a player is nearby.
That is irrelevant because streamed objects wouldn't work correctly with this kind of system they update too slowly


Re: [alpha] Objects Physics - Handle objects collisions and more. - ikey07 - 29.10.2013

Never thought its actually possible, well done.


Re: [alpha] Objects Physics - Handle objects collisions and more. - leong124 - 30.10.2013

Quote:
Originally Posted by TheArcher
View Post
Many people mistakes the fact that the STREAMER plugin doesn't allow you to create INFINITE objects but just streams the object when a player is nearby.
I know it can stream infinite number of objects. What I mean is what Pottus said. You also need something like gvar to handle infinite number of objects for this include, so I suggest Peppe to add that.


Re: [alpha] Objects Physics - Handle objects collisions and more. - Pottus - 30.10.2013

Quote:
Originally Posted by leong124
View Post
I know it can stream infinite number of objects. What I mean is what Pottus said. You also need something like gvar to handle infinite number of objects for this include, so I suggest Peppe to add that.
I realized the limitations when I tried to create the throwing object animation on DayZ basically it pre-generates frames then plays through them but dynamic objects were not smooth and updated too slowly to be a usable solution I had to settle with CreateObject()


Respuesta: [alpha] Objects Physics - Handle objects collisions and more. - Malganys - 15.11.2013

Peppe, please fix the problem with dynamic objects!


Re: [alpha] Objects Physics - Handle objects collisions and more. - Captive - 21.11.2013

Fantastic!! The Physics of objects is very really! The Soccer System is Great!


Re: [alpha] Objects Physics - Handle objects collisions and more. - newbie scripter - 13.01.2014

Why does my object goes through the wall?