(Codename Engine issue, not sure if users from other engines experienced the same issue)
When trying to get the path vector for the modifiergroup for any currently active manager, no matter the input for the function, it throws a null object reference error
my current goal is to get the strum receptor positions after the effects of the modchart are applied to them, since codename keeps their position static with the default strumline locations
current code snippet (0's in both lane and player as an example):
//m is the manager
var vector = new Vector3D();
var fields:ArrowData = {
hitTime: Conductor.songPosition,
distance: 0,
lane: 0,
player: 0,
isTapArrow: true
};
trace(m.playfields[0].modifiers.getPath(vector, fields, 0, false, true));
i have also tried calling from the current manager instance like this
trace(Manager.instance.playfields[0].modifiers.getPath(vector, fields, 0, false, true));
both trace statements throw with a null object reference error instead of just tracing "null" or nothing
(side note, i rarely use markdown for github comments, so im hoping these code blocks show up correctly, sorry if they don't and it makes this look confusing.)
(Codename Engine issue, not sure if users from other engines experienced the same issue)
When trying to get the path vector for the modifiergroup for any currently active manager, no matter the input for the function, it throws a null object reference error
my current goal is to get the strum receptor positions after the effects of the modchart are applied to them, since codename keeps their position static with the default strumline locations
current code snippet (0's in both lane and player as an example):
i have also tried calling from the current manager instance like this
both trace statements throw with a null object reference error instead of just tracing "null" or nothing
(side note, i rarely use markdown for github comments, so im hoping these code blocks show up correctly, sorry if they don't and it makes this look confusing.)