Powered by Invision Power Board

 
    Reply to this topicStart new topicStart Poll

> Better Collisions in GM?, cause move_contact sucks
United States
Bigbowsa
Posted: Jun 5 2008, 06:57 PM
Quote Post


lol showbiz bowser
[*]

Group Icon
Group: Members
Posts: 1225
Member No.: 3187
Joined: 14-January 07

Status: (0d) [--]


For collisions, I use move_contact. Pure and simple, gets the job done right? Wrong. Whenever I've been using move_contact (solid, to be exact) the collisions are really glitchy. Does anybody know a better way to control collisions than move_contact_solid? I'm using solid objects, just to let you know.


--------------------
PMEmail Poster
Top
United States
Datt
Posted: Jun 5 2008, 09:22 PM
Quote Post


I'm having a blast
[*][*]

Group Icon
Group: Members
Posts: 1022
Member No.: 4623
Joined: 24-October 07

Status: (0d) [--]


Try this. Made it myself. Ignore the slopes and the gothroughblock. I hope your using GM 7.0, you didn't say..
And to anyone who downloads, please don't steal and claim as your own.

This post has been edited by Im4everkool on Jun 5 2008, 09:23 PM

Attached File ( Number of downloads: 11 )
Attached File  Sapwind_Simple_Platform.gmk


--------------------
QUOTE (Mario_6464SMR's reply to Mrs A)
his name's not Halo it's the master chief, and i don't know what "doesn't afraid of anything" means, have u ever played halo before?

PMUsers Website
Top
Finland
Ultramario
Posted: Jun 6 2008, 03:25 AM
Quote Post


Dan Dan Dan!
[*][*][*][*][*]


Group Icon
Group: Members
Posts: 11240
Member No.: 2164
Joined: 9-June 06

Status: (0d) [--]


This is what I use:
CODE
if y < other.y
{x = self.x
y = other.y-**
vspeed = 0}
else
vspeed = 2


** = bottom of the collision zone - sprite origin


--------------------
PMEmail PosterUsers WebsiteAOL
Top
United States
Bigbowsa
Posted: Jun 6 2008, 12:27 PM
Quote Post


lol showbiz bowser
[*]

Group Icon
Group: Members
Posts: 1225
Member No.: 3187
Joined: 14-January 07

Status: (0d) [--]


Wow, that was really helpful. No sarcasm! Thanks guys!

This post has been edited by Bigbowsa on Jun 6 2008, 12:28 PM


--------------------
PMEmail Poster
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

  Topic Options Topic Options Reply to this topicStart new topicStart Poll

 




[ Script Execution time: 0.0425 ]   [ 14 queries used ]   [ GZIP Enabled ]   [ Server Load: 0.77 ]