Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Easier collision objects + spline platforms #546

Open
Reonu opened this issue Dec 6, 2022 · 3 comments
Open

Easier collision objects + spline platforms #546

Reonu opened this issue Dec 6, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request needs fast64 integration Dependent on changes to fast64
Milestone

Comments

@Reonu
Copy link
Contributor

Reonu commented Dec 6, 2022

Ability to easily create collision objects that can (but don't have to) follow a spline directly in fast64.

  • creating moving platform object behavior
  • creating the levelscript command
  • creating the struct
@Reonu Reonu added enhancement New feature or request needs fast64 integration Dependent on changes to fast64 labels Dec 6, 2022
@Reonu Reonu added this to the 2.1 milestone Dec 6, 2022
@thecozies
Copy link
Contributor

two separate level commands:

moving platform levelscript command:
geo, collision, position, angle, act flags, x rot, y rot, z rot, spline pointer (spline struct contains pointer to spline data and details on following it)

object with geo:
literally the exact same as regular objects (bhv, position, angle, bparams, act flags) but model id is replaced with geo pointer and collision

@arthurtilly
Copy link
Collaborator

#define OBJECT_FROM_GEO(geo, collision, posX, posY, posZ, angleX, angleY, angleZ, behParam, beh, acts) \

#define MOVING_PLATFORM(geo, collision, posX, posY, posZ, angleX, angleY, angleZ, rotVelX, rotVelY, rotVelZ, spline, acts) \

struct SplineData {
Vec3f *spline;
s16 speed;
u8 activatedByMario;
u8 loop;
}

@gheskett gheskett modified the milestones: 2.1, 3.0 Mar 6, 2023
@gheskett
Copy link
Collaborator

Relates to #316

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs fast64 integration Dependent on changes to fast64
Projects
Status: To do
Development

No branches or pull requests

4 participants