|Anonymous | Login | Signup for a new account||2018-04-19 22:50 UTC|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000156||tAPI||Mods -> Projectile||public||2015-04-26 11:03||2015-06-10 15:23|
|Status||closed||Resolution||no change required|
|Product Version||184.108.40.206 r15|
|Target Version||Fixed in Version|
|Summary||0000156: Minions & sloped platforms|
|Description||In 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 Reproduce||This 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.|
|Tags||No tags attached.|
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.
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.
|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 - 2018 MantisBT Team|