Informations
Jump to content

Lorem Ipsum...

Click to Dismiss this Notification
Ładowanie danych...

Resolving Shake Issues After Implementing Sash/Acce System


Recommended Posts

When integrating a sash system with a scaling feature, it's crucial to ensure that the shake effect operates correctly. The current issue arises because the matrices used in the ShakeProcess function need to be replaced with the newly implemented matrices utilized in the Deform and OnDeform methods of the ThingInstance. Below are the steps to correct this issue.

Steps to Fix the Shake Functionality

1. Modify GameLib/ActorInstanceBattle.cpp

Begin by locating the file in your project directory:

Find the ShakeProcess Function

  1. Open GameLib/ActorInstanceBattle.cpp and search for the following function definition:

     
  1. This is the hidden content, please

     

Update Matrix References

  1. Within the ShakeProcess implementation, locate the following lines of code:

     
  • This is the hidden content, please

     

  • Replace these lines with the updated matrix references as follows:

     
  1. This is the hidden content, please

     

By making this change, you will ensure that the shake effect utilizes the appropriate transformation matrix, allowing it to function correctly with the newly introduced scaling feature of the sash system.

 

After implementing these adjustments, the shake effect should work seamlessly with the sash and accessory system, enhancing the overall gameplay experience. Properly managing matrix references is essential for maintaining visual effects and ensuring everything remains in sync.

Link to comment
Share on other sites


Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

spacer.png

Disable AdBlock
The popup will be closed in 5 seconds...