tAPI Mantis Bugtracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000156tAPIMods -> Projectilepublic2015-04-26 11:032015-06-10 15:23
Reportersolo-ion 
Assigned ToYoraiz0r 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionno change required 
PlatformPCOSWindowsOS Version7
Product Version1.2.4.1 r15 
Target VersionFixed in Version 
Summary0000156: Minions & sloped platforms
DescriptionIn r15 My minion no longer falls through sloped wooden platform when using the following code:

projectile.velocity = Collision.TileCollision(projectile.position, projectile.velocity, projectile.width, projectile.height, (delta.Y < -36), (delta.Y < -36));
Vector4 vect4 = Collision.SlopeCollision(projectile.position, projectile.velocity, projectile.width, projectile.height, 0.35f, (delta.Y < -36));
projectile.position.X = vect4.X;
projectile.position.Y = vect4.Y;
projectile.velocity.X = vect4.Z;
projectile.velocity.Y = vect4.W;

This worked in r14.
Steps To ReproduceThis is difficult to reproduce without minion code ready. If the moderators request it, I will isolate my minion into a mew mod and upload that.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000155)
Yoraiz0r (administrator)
2015-06-07 10:39

Are you sure the only difference is the tAPI version? I can't find a code related to slopes that should affect your projectile between r14 and r15.

Do note that slope collision is called for projectiles who are pets automatically if their tileCollide is true.
(0000157)
solo-ion (reporter)
2015-06-08 10:25

I'm certain that I didn't change anything before I updated to r15. I noticed that my minion was falling correctly when I defined him as a pet, but then he was doing no damage.

Because my minion doesn't behave like a normal minion, I decided to remove "minion": true altogether, which solved my problem.

- Issue History
Date Modified Username Field Change
2015-04-26 11:03 solo-ion New Issue
2015-04-27 17:49 Shockah Status new => acknowledged
2015-05-06 19:59 Shockah Assigned To => Yoraiz0r
2015-05-06 19:59 Shockah Status acknowledged => assigned
2015-05-06 19:59 Shockah Status assigned => acknowledged
2015-06-07 10:39 Yoraiz0r Note Added: 0000155
2015-06-08 10:25 solo-ion Note Added: 0000157
2015-06-10 15:23 Shockah Status acknowledged => closed
2015-06-10 15:23 Shockah Resolution open => no change required


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker