Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mike2d

Pages: 1 2 [3] 4 5
31
Support / Re: Colider penetration
« on: July 25, 2012, 08:34:28 am »
wow,

that piece of answer lead me to an unknown world : CharacterController, Kinematic, static Collider and so on !

I've many things to learn and very basic ones obviously :P

After reading some docs on all that stuff, i'm a bit confused.

If I get it right, I either use an object with rigidbody including its physics OR a character controller with no physics right ?

the advantage of CharacterController is sliding walls, which is a concern in my case but it has a fixed capsule collider (so i lose the benefit of trimmed box in tk2d) and in the other hand, rigidbodies have physics thus gravity ability (which can be simulated with CharacterController if i'm right) but has friction when sliding walls.

so for my 2D game character, WHAT SHOULD I USE ? :D

32
Support / Re: Colider penetration
« on: July 24, 2012, 04:03:00 pm »
transform.translate(...)

33
Support / Re: Colider penetration
« on: July 24, 2012, 03:18:58 pm »
yes, it's my own controller.

i tried with two primitive cubes + my own controller and its the same problem.

do you think it comes from my controller then ?

34
Support / Re: Colider penetration
« on: July 24, 2012, 02:34:15 pm »
another video to see the penetration of each collider :

http://mamistudio.biz/forums/collision2.m4v

35
Support / Re: Colider penetration
« on: July 24, 2012, 02:20:23 pm »
i've checked collider sizes of every animation frame and its the same for each of them.

with animations deactivated, the problem persists.

36
Support / Re: Colider penetration
« on: July 24, 2012, 01:48:51 pm »
here's what i'm talking about :

http://mamistudio.biz/forums/ColliderProblem.flv

37
Support / Re: Colider penetration
« on: July 24, 2012, 01:08:46 pm »
yes, i've already decreased to a 0.00001 value but still, there's a friction on side of colliders that retains my character as he's sliding down on the side of it.

i'd like to have no friction/penetration at all on the side of the collider objects or on the collider of my 2d character. As he was sliding on an ice wall :)

38
Support / Colider penetration
« on: July 24, 2012, 12:37:16 pm »
hi,

my character (a 2d sprite) can walk right / left.

when he hits a wall and keep walking against it, the two colliders (character & wall) seems to interpenetrate a little bit thus creating a jaggy effect of back and forth for the 2d sprite.

is there way to avoid this ? is there a threshold that i could change somewhere ?

thanks,

39
Support / OnTriggerEnter
« on: July 21, 2012, 11:34:51 am »
hi,

I've noticed that when moving a sprite in a collider with trigger, OnTriggerEnter was called every time the sprite changes its direction...

is this intentional ?

40
Support / Re: clipId
« on: July 08, 2012, 01:11:32 pm »
my bad  ;D

nice, thanks

41
Support / clipId
« on: July 08, 2012, 10:21:12 am »
hi all,

clipId's are associated with anim. when adding/removing anime, clipId's are redistributed aren't they ?

that's kinda annoying because I'm using constants to references clipId's in scripts.

is there a way to include a clipId's management system in the editor in future releases ? to be able to re-assign id's, to reorder them (D&D or text fields)...


42
interesting,

can you give me an example of such a script (smooth follows player) ?

43
Support / Re: Chain of animations
« on: July 04, 2012, 07:51:02 pm »
thanks

44
Support / Re: tk2dAnimatedSprite.getFrame() function
« on: July 03, 2012, 07:59:06 pm »
 ;D

nice, i'll test that.

45
Support / Chain of animations
« on: July 03, 2012, 05:26:55 pm »
hi,

i'd like to play an animation automatically when a previous one is finished ?

i've seen AnimationCompleteDelegate and Trigger options in the SpriteAnimation Inspector so what are they used for and what's the best way to accomplish what i explained above  ?

Pages: 1 2 [3] 4 5