Page MenuHomeFeedback Tracker

Particles should have a vectorUp parameter
Closed, ResolvedPublic

Description

Particles have a vectorDir parameter, but to allow precise positioning, a vectorUp parameter is needed as well.
Additionally, the position seems to have a strange offset. Maybe that can be looked into as well.

https://community.bistudio.com/wiki/ParticleArray

Pinging @dedmen.

Details

Severity
Feature
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Scripting
Steps To Reproduce
drop [ 
 [(getModelInfo player)#1, 1, 0, 1], 
 "", 
 "SpaceObject", 
 1, 10, 
 // pos 
 [0, 0, 1.85], 
 // vel 
 [0, 0, 0], 
 // rot 
 0, 
 // weight, vol, rubbing 
 1, 0.785, 0, 
 // size 
 [1], 
 // color 
 [[1, 1, 1, 1]], 
 // anim phase 
 [1], 
 // random dir period, random dir intensity 
 0, 0, 
 // scripts 
 "", "", 
 // object?? 
 quad, 
 // angle 
 0, 
 false, -1, [], vectorDir quad vectorMultiply -1
];

Event Timeline

dedmen claimed this task.Jun 1 2020, 9:35 PM
POLPOX added a subscriber: POLPOX.Apr 1 2022, 4:14 AM
dedmen set Ref Ticket to AIII-55096.Apr 4 2022, 12:14 PM
Lexx2k added a subscriber: Lexx2k.Apr 6 2022, 8:59 AM
h- added a subscriber: h-.Apr 8 2022, 6:47 PM
drop [  
 [(getModelInfo player)#1, 1, 0, 1],  
 "",  
 "SpaceObject",  
 1, 10,  
 [0, 0, 1.85],  
 [0, 0, 0],  
 0,  
 1, 0.785, 0,  
 [1],  
 [[1, 1, 1, 1]],  
 [1],  
 0, 0,  
 "", "",  
 quad,  
 0,  
 false, -1, [], [vectorDir quad vectorMultiply -1, vectorUp quad] 
];

next dev branch

dedmen closed this task as Resolved.Oct 9 2023, 12:17 PM

was released in 2.12